Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

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


Jess-7992

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

Hi. Use this new code

.view-list div#categoryNav:before {
    content: "Tuan Phan";
    display: block;
    text-align: center;
    font-family: monospace;
    color: white;
    margin-bottom: 20px;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...