Specifying header text versus body text
LensTripping
Registered Users Posts: 17 Big grins
Hi All,
Is there a way to specify the header text as one color and the body text as another? I have a white background to my header and a dark background for the body of the pages with the images. The problem is that all the text on the darker background is using the dark text from the header.
I'm guessing I would need to insert an HTML block on the body, but I don't know.
Visit my homes around the web:
LensTripping.com
FB: https://facebook.com/LensTrippingPhotography
IG: https://instagram.com/lenstripping_photography/
Flickr: https://flickr.com/photos/lenstripping/
0
Comments
Are you talking about the text in the header section or header text, like
<h1>
,<h2>
etc? Without seeing you new site I can only guess.To answer your question about where you put the CSS. You need to put the CSS in your theme's custom CSS section. I have a link in my signature for that.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
@Hikin' Mike I'm talking general text in the body of the site. For example in the header section I'm working on (customizing the Osiris design) I have the header background white the link text is dark gray (almost black) with it set to accent color when hovered over. However, because the site theme text color is set to that almost dark gray color the body background (almost a pure black color) loses the text because the theme text color. I am wondering if there is a way to override that theme text color in the body somehow. I don't even know if this is making sense. Here's a screenshot (hopefully) to try and explain what I mean...
Visit my homes around the web:
LensTripping.com
FB: https://facebook.com/LensTrippingPhotography
IG: https://instagram.com/lenstripping_photography/
Flickr: https://flickr.com/photos/lenstripping/
Yes, you can override anything with CSS. You should be able to change the theme's color by going to "Entire Site > Theme > Active Theme" and clicking on the wrench.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Screenshots won't work because I need to see it live.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
@Hikin' Mike I don't know anything about CSS (and barely remember much with regard to HTML). What would I need to enter in a CSS field in the active theme that would allow me to change the text color in the body of the website to lighten it?
Visit my homes around the web:
LensTripping.com
FB: https://facebook.com/LensTrippingPhotography
IG: https://instagram.com/lenstripping_photography/
Flickr: https://flickr.com/photos/lenstripping/
No need for CSS. Change the Text Color:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
@Hikin' Mike But, like I said above if I change the theme text color so that the body color is lighter then the text color at the top in the header will disappear into the white background.!
Before changing the theme text to be lighter for the body
After changing the theme text to be lighter for the body
I need to be able to differentiate the text color for the header section and the text color for the body/rest of the website.
Visit my homes around the web:
LensTripping.com
FB: https://facebook.com/LensTrippingPhotography
IG: https://instagram.com/lenstripping_photography/
Flickr: https://flickr.com/photos/lenstripping/
Add this to your Theme's Custom CSS Section and change the color to suit:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks @Hikin' Mike. Will that specify the color only for the header section? It looks that way for the majority of the code, but I'm not sure about the top 2 lines so I wanted to ask.
Visit my homes around the web:
LensTripping.com
FB: https://facebook.com/LensTrippingPhotography
IG: https://instagram.com/lenstripping_photography/
Flickr: https://flickr.com/photos/lenstripping/
No. This will change the body. If you want it for the header, I need to see it live.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thank you @Hikin' Mike ! Seems like it's working a charm! Much appreciated for your help!
Visit my homes around the web:
LensTripping.com
FB: https://facebook.com/LensTrippingPhotography
IG: https://instagram.com/lenstripping_photography/
Flickr: https://flickr.com/photos/lenstripping/