Jump to content

Adding text to a product page, but not the individual product pages

Recommended Posts

Hi there,

I have added text to the top of my products page with the following code from a previous post on here from @tuanphan. It's working fine, but it's also showing on each individual product page when you click through. Is there a way to have it only on the product listing page, and not on the individual product pages?

Thanks in advance!

Jess 

@tuanphan

div#categoryNav:before {
    content: "Tuan Phan";
    display: block;
    text-align: center;
    font-family: monospace;
    color: white;
    margin-bottom: 20px;
}
Link to comment
  • Replies 4
  • Views 639
  • Created
  • Last Reply
  • 1 month later...
On 3/8/2021 at 9:16 PM, Jess-7992 said:

Hi @tuanphan  Thanks for your help above. The client would now like this added text to have a heading, followed by some body copy. Can you help in styling this?

Thanks in advance for your help.

 

Cheers,

Jess 

Hi,

You mean something like this

Quote

Title 

Description

or only Title (with heading style)?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.