go41

Re: two quick questions-1. CSS for main logo or not and 2. Read more link ! :: Reply by master

von Joern am 22. Mai. 2010 | Keine Kommentare

the banner: in your header.php is already the full code for a clickable banner, you just removed the original image (images/backgrounds/topbanner.gif)
the reference for this is in style.css
#branding {

background:url("images/backgrounds/topbanner.gif") no-repeat scroll 0 0 transparent;

height:100px;

padding-bottom:15px;

width:625px;

}
putting your logo as topbanner.gif in the size given above (625x100px) in this folder would solve your problem without much work.
The read more link: actually you removed the thumbnail image and an excerpt with about 35 words. Now you show the ‚advanced excerpt‘ content with a read more link. This additional link brings you to the same post like the title link above, that’s okay. But how many words, images etc, is that important?
in the right column you still have
<?php the_content_rss(“, TRUE, “, 35); ?>
add just below this the_content_rss the following:

<span class="post-teaser-more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Read: ‚<?php the_title(); ?>’">Read the story: <?php the_title(); ?></a></span>
and it will look like here: http://www.go41.de/
to change the look of your current more link or the one above, use in style.css this with any values you learned already
.post-teaser-more {

line-height:20px;

margin:0;

padding:0 0 15px;

}
as these links are in a <span class="post-teaser-more">
this menu bar stuff

it’s all about style.css, I do not want to analyze one site and tell you what to change on your site.

easiest is in your style.css, find

#nav li {

float:left;

list-style:none outside none;

}

and change to

#nav li {

float:right;

list-style:none outside none;

}

this makes all list items (pages come as a list) just move to the right.
to get it red with some space (margin) between like this

#nav li {

background:none repeat scroll 0 0 #A91C1D;

float:right;

list-style:none outside none;

margin-left:12px;

}
btw: your black background makes with black text your single post unreadable!
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 1 weitere Ergebnisse dieses Threads:

two quick questions-1. CSS for main logo or not and 2. Read more link !

22. Mai. 2010 (von: omerkhan01)

Hi Joern, I have two final questions. As you can see my CMS is turning out exactly the way my client wanted it. You cansee here.Just two questions.I want to put a header logo. Now would you simply go into…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: