Forums / Templates, Stylesheets, Page Layout / coding the new products title, featured products title, category titles

coding the new products title, featured products title, category titles

Locked

Views: 2,111

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Aug 2010, 8:51 AM
#1
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

coding the new products title, featured products title, category titles

I am looking to have a background image for my "New Products" title, "Featured Products" title, and "Sub Category" titles on my site, however right now all the coding that controls these is the same "h2centerBoxHeading" is there anyway that I can separate these so I can format the BG image to look right with these titles? Or is there a way to format the BG image to fit correctly with the different lengths of the titles?

I am looking to add something like what you see on this site as "featured Products" http://web.archive.org/web/20080315093630/www.assassinspaintball.com/Default.asp behind my titles.

If I can code this then that would be better.

19 Aug 2010, 2:24 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: coding the new products title, featured products title, category titles

In a standard template, each of those centerboxes has a unique id, and you can call the h2 under that id to address it individually. A link to see your site live will let us tell you exactly how to word it.

23 Aug 2010, 6:42 PM
#3
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Re: coding the new products title, featured products title, category titles

gjh42:

In a standard template, each of those centerboxes has a unique id, and you can call the h2 under that id to address it individually. A link to see your site live will let us tell you exactly how to word it.

Thank you for chiming in. My site is https://www.mercenarypb.com I started to mess around with the css and code but it made a global change that didn't work for all centerboxes. I appreciate the help!

23 Aug 2010, 11:08 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: coding the new products title, featured products title, category titles

The "New Products for..." can be addressed by

#whatsnew h2 {}

(Sub)category headings are

h1#indexCategoryHeading {}