Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 15th Feb 2009, 11:45 PM   #1
HyperActive Warrior
War Room Member
 
Mad Dawg's Avatar
 
Join Date: 2008
Location: San Diego, USA
Posts: 213
Thanks: 21
Thanked 18 Times in 16 Posts
Default
One simple blog edit...but I'm DUMB!
Share on: 
fb share twitter share gplus share more share

Hey warriors,

All i want to do is change the color of the page break line in between the posts on my blog. Does anyone know what area / command in the theme editor controls this?

Thank you in advanced!

Noah
Mad Dawg is offline  
Unread 16th Feb 2009, 10:52 PM   #2
HyperActive Warrior
 
Join Date: 2008
Location: USA
Posts: 250
Thanks: 9
Thanked 29 Times in 27 Posts
Blog Entries: 22
Default
Re: One simple blog edit...but I'm DUMB!
Share on: 
fb share twitter share gplus share more share

Hello Noah,
A couple of ideas come to mind. If this is between each post, then you would want to edit the template pages in Wordpress for your theme, and look for the right place to insert your new edit inside the loop. There should be a PHP conditional loop to check for existing posts, and loop through each one until it's done. So you find the loop, and if there is already a line break, you can place a class ID on it and control the presentation (in this case, your wanted a different color). Then you can edit your CSS file and add an entry to call the class ID you specified. In this new style section you enter the color, padding, and other characteristics. Save your changes and test to see if it looks good.

I hope that makes sense. If you can maybe post an excerpt of PHP code that represents the posting loop for your blog theme, we can probably figure this out quickly. Thanks.

awesometbn is offline  
Unread 17th Feb 2009, 12:30 AM   #3
telekmencret
 
bz1406's Avatar
 
Join Date: 2009
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: One simple blog edit...but I'm DUMB!
Share on: 
fb share twitter share gplus share more share

You can use photoshop or dreamweaver to changes it...

bz1406 is offline  
Unread 21st Feb 2009, 06:37 PM   #4
VIP Warrior
War Room Member
 
ereadergold's Avatar
 
Join Date: 2008
Location: Montreal Canada
Posts: 2,390
Thanks: 1,017
Thanked 836 Times in 572 Posts
Blog Entries: 1
Default
Re: One simple blog edit...but I'm DUMB!
Share on: 
fb share twitter share gplus share more share

Originally Posted by bz1406 View Post

You can use photoshop or dreamweaver to changes it...
How exactly would you use Photoshop or Dreamweaver to change a WordPress template?

I'm with awesometbn, the answer is to identify the post separator element in the style sheet and then just change it's value.

Bill
ereadergold is offline  
Unread 22nd Feb 2009, 07:29 AM   #5
Active Warrior
 
Join Date: 2009
Posts: 60
Thanks: 25
Thanked 4 Times in 4 Posts
Default
Re: One simple blog edit...but I'm DUMB!
Share on: 
fb share twitter share gplus share more share

I'm not a programmer, and -- writing my book -- I've learned just enough to be dangerous.

But, in case I can be helpful, here's what I suggest.

Different themes use different dividers between posts. That's where this gets tricky. If it's a graphic divider, the earlier advice about changing the color of the graphic (in PhotoShop or another graphics program) could be enough.

If the code can be located in the CSS file with Dreamweaver, that's another solution. That sounds a little unlikely to me, but I don't use Dreamweaver.

Here's one approach that may work if your posts are divided by a single line or horizontal rule (an "hr"). As I said, a lot depends on what your theme uses to divide the posts.

Assuming that you're using WordPress 2.7...

In your WP dashboard, go to Appearance > Editor

Open your Stylesheet (style.css). It's usually the default that's on the screen when you open the Editor.
[Important: First, be sure you save a copy of the original style.css sheet code, so -- if all else fails -- you can restore the original version.]
Now, try changing the code related to your hr. The code may look like this:

hr {
display: block;
height:1px;
background:#333;
border:0px none;
}


The background color (#333 in my example above) is the color you'll try changing to the code for the color you'd like. Or, you can replace it with some color as a word (red, blue, etc.).

This will probably be a trial-and-error experiment.

If that doesn't help and your dividers aren't graphics, you will need to identify exactly what's used as a divider in your theme. (This may involve reading several PHP files for anything that looks promising. If you don't read PHP easily, you have my sympathy!)

Then you'll know what to look for in your style.css, where you'll change the color.

From there, you'll probably go to your style.css (similar to what I described above) and make the color changes there.

I hope this helps!

WordPress themes made easy: Sites that Soar!
aisling is offline  
Closed Thread


Bookmarks

Tags
blog, dumb, editbut, simple


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:46 AM.