| | #1 |
| HyperActive Warrior War Room Member Join Date: 2008 Location: San Diego, USA
Posts: 213
Thanks: 21
Thanked 18 Times in 16 Posts
|
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 |
| |
| | #2 |
| HyperActive Warrior |
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. |
| Exciting comment opportunities on my WF blog: (1) Better money with better marketing (2) Forming strong customer bonds (3) Earn more money with DB marketing (4) Building a revenue and profit model | |
| |
| | #3 |
| telekmencret Join Date: 2009
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
|
You can use photoshop or dreamweaver to changes it...
|
| | |
| |
| | #5 |
| Active Warrior Join Date: 2009
Posts: 60
Thanks: 25
Thanked 4 Times in 4 Posts
|
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! | |
| |
|
| Bookmarks |
| Tags |
| blog, dumb, editbut, simple |
| |