Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Formatting Category / Page Titles (Adding a background image)
 
TDNG
Jr. Member
 
Total Posts:  4
Joined:  2009-12-16
 

I have looked for this in google but was not able to track down a solid answer.

I am looking to add a background image (essentially a bordered box) to all of my category and page titles.

A good example is: http://www.gap.com/browse/category.do?cid=5156
In this website you can see that beneath the word “Shorts” there is a blue background image.

How can I do this for Magento?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
furnitureforyoultd
Enthusiast
 
Total Posts:  833
Joined:  2009-03-09
 

skin/frontend/default/theme/css/boxes.css

Find:
.category-head h2 {

add:

background-color#000000

change the color to whatever one you want, refresh cache if enabled and it should change

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top