Navigation Bar, Header & Missing 'Continue Reading'
-
Hello everyone!
New to the WP community and I am seeking some help. I am attempting to customise a new theme for my blog. I am almost there but I am having three problems.
1. I cannot seem to change the colour of my menu/navigation bar items. I have looked and tried a few things. Nothing works. In CSS I tried modifying the following:
position:relative; color: #4b4b4b width: 960px; margin: 0px auto; left: 8px; text-align: right; line-height: normal;Nothing happened to the colour.
2. I am trying to make my title and tagline bigger and centre them. The only thing I have been able to change is the width of the header bar 🙁 The code I messed around with is
[CSS moderated as per the Forum Rules. Please just post a link to your site.]
3. I have continue reading in almost every post. But in the template I worked on, it does not show up at all!
Total newbie, sorry if the questions seem annoying.
Big thanks.
-
My website is at http://astleyhenry.com
1. Try editing:
#button .page_item a { background: url("images/button-left.gif") no-repeat; color: #F8F8F8; display: block; font: bold 12px/28px Verdana,Arial,Helvetica,sans-serif; padding: 0 15px; text-decoration: none; }in style.css
2. Try adding:
#logo {font-size:1.3em;}to the bottom of style.css
3. Does the index.php template file use
<?php the_content();?>?Thanks so much Esmi!
The index.php has
<?php the_content(''); ?>Are those quotations inside the brackets supposed to be there?
Not by default. Try removing them.
Big thanks again Esmi! Everything seems to be working ok now.
How do I centre the blog title and tagline?
Also, I put a code for my most discussed posts. But it now has a bullet in front of the heading. How do I get rid of the bullet? The code is
<li><h2>Most Discussed</h2> <ul class="none"> <?php $popular_posts = $wpdb->get_results("SELECT id,post_title FROM {$wpdb->prefix}posts ORDER BY comment_count DESC LIMIT 0,5"); foreach($popular_posts as $post) { print "<li><a href='". get_permalink($post->id) ."'>".$post->post_title."</a></li>\n"; } ?> </ul> </li>Sorry code for bullet does not help
that bullet is in the css
If you install Firefox Firebug then when you visit your website you can immediately see the css styling plus line numbers for that most discussed posts
Thanks for the tip 123!
Any idea how to centre the blog post?
The topic ‘Navigation Bar, Header & Missing 'Continue Reading'’ is closed to new replies.