Need a little PHP help!
-
Hi! I’m trying to remove the sidebar on Product Pages ONLY, and make Product Pages full width. (Not applicable to other single pages.)
I was able to make the fix via CSS, but that affects ALL the pages, and I only want to remove the sidebar on Product Pages, so I thought that perhaps I could use PHP “if” statements to select Product Pages only, then apply CSS to remove the sidebar? Is that possible?
Here is the CSS I used to create the effect I want:
#primary {width: 100%}
#secondary {display: none}But I only want this on product pages. Can someone help me with the PHP code needed? Or do you have a better idea for me?
The page I need help with: [log in to see the link]
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Need a little PHP help!’ is closed to new replies.