Jump to content

Background color of Featured Products title bar


Recommended Posts

In the default theme the title bar of the Featured Products on the front page has a dark grey background and white font. Either the theme I'm using or something else I've done along the way has changed that to white background with black font. I would like to modify the colors but can't figure out where to do that. If possible, I would also like for it to have rounded corners like everything else on my site, but my main concern right now is just getting the colors changed.

 

5ROW975.jpg

 

aikoMfk.jpg

Link to comment
Share on other sites

I figured out where to set the color, it's in the h4 style in the global.css. Now if possible I'd really like for it to have rounded edges like my header menu bar.

 

dVXRw0d.png

 

1uAW7qX.png

 

I have explored that element with Chrome, but still can't figure out how/where the rounded corners are applied. Any ideas would be greatly appreciated.

 

http://shop.sunstatetechnology.com

Link to comment
Share on other sites

Hi :) add this to your css:

 

#featured-products_block_center h4 {

border-radius: 8px;

}

 

As you see this will add border radius only to featured products block, if you want you can add it directly to the h4 as you did with the color.

 

Cheers :)

Link to comment
Share on other sites

Perfect! Thanks man. I actually moved the color stuff from the h4 to that style as well so that all of the Featured Block modifications are together.

 

If you don't mind me asking, in the CSS what is the difference between a style that starts with a # and one that starts with .? It seems like most of the block styles start with a .

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...