Changing font colors (Bueno theme)
-
Hi there,
Sorry to bother everyone. I recently started using the Bueno theme, and decided it would be nice if the font was black instead of gray to create more contrast. To change the font color, I have inserted the following in the posts:
<span style=”color:#000000;”>
Here’s the problem I am having. In posts like this one, which contain a photograph in front of the text I want to blacken:
http://buffalostoryproject.com/2010/04/17/rise-and-ruin/
When I insert the coding above all of the text below the coding changes color, to black. This is what I expected.
***
However, when I insert the same coding in posts like this one that don’t contain a photograph in front of the text I want to blacken:
http://buffalostoryproject.com/2009/10/03/the-year-he-became-a-banker/
Only the first paragraph after the coding changes.
***
I know very little coding, and was wondering what accounted for this discrepancy, and whether it is normal to have to add new coding for every single paragraph…
Thanks,
chThe blog I need help with is: (visible only to logged in users)
-
I’m not sure what it has to do with images but in the first example your “span” tags enclose all of the text and in the second example they only surround the first paragraph. Where are you placing the closing “span” tag in each case? It might be a better idea to use something like the “div” tag which is a block level element, insert one at the beginning including your colour styles and remember to include the closing tag at the very end of your entry.
lh
-
Hi,
hallluke — thank so much for trying to help me out. Could you explain in more detail how it is that the “span” tags in the first example enclose all of the text, and how the “span” tags in the second example don’t? As far as I can tell, the “span” tags in question in both posts actually surround all of the text that I want changed.
Even when I close the “span” tag at the bottom of the story in the second post, as I have done, it does not fix the problem.
I know this sounds crazy, but when I remove the top photo from the first post, the text in the post begins to behave just like the text in the second post, with the first paragraph black and nothing else. So removing the photo changes the appearance of the text below it.
I will look up some info on “div” tags, but in the interim, if anyone has any other ideas about the issue with the “span” tags, that would be great.
Thanks, hallluke, and anyone else with ideas!
ch
-
Hi,
Tried the div tag, and it works. Thanks! I didn’t understand the difference between div and span. Sorry for the long post about an easily solved problem. And thanks everyone!
- The topic ‘Changing font colors (Bueno theme)’ is closed to new replies.