× Got a CSS, HTML or webdesign question? Ask it here!

Editing CSS elements on specific pages

1 year 4 months ago - 1 year 4 months ago #16312 by Daniels1
I am trying to change the shipping information CSS element on the Products page.
I believe it is called "p". When changing it to the desired sentence I discovered that other pages also contain "p" and changed along with it.
How do I change the content of "p" on a specific page without affecting other pages on my site?

I'm new to CSS and I would like to know if there is any way I can localize changes to a specific page I am editing.
This is my problem:
dinamolat.deco-apparel.com/contact

Thanks

Please Log in or Create an account to join the conversation.

1 year 3 months ago #16318 by brenden
Hi there,

<p> in HTML is paragraph text which basically means every bit of text on your site.

Each page has a unique body ID.

If you inspect the HTML of the contact page you will see the ID is #home_contact. So you can target the paragraph text on the /contact page by:
#home_contact p {

}

Cheers,

Senior Product Manager
Wilcom - Sydney, Australia



The following user(s) said Thank You: Daniels1

Please Log in or Create an account to join the conversation.

Time to create page: 0.125 seconds
Powered by Kunena Forum

Latest from our blog

DecoNetwork 8 - Update 3: GDPR Compliance (+56 tasks completed)

DecoNetwork 8 - Update 3: GDPR Compliance (+56 tasks completed) In this release, DecoNetwork updated its Privacy Policy and Terms of Use, effective May 23, 2018. These changes were made primarily in preparation...Read More

This Week in Catalog - May 18, 2018

This Week in Catalog - May 18, 2018 I have two big announcements to make in regards to the DecoNetwork catalogs. We read and listen to your complaints and suggestions. Recently, I...Read More

DecoNetwork 8 - Available Now!

DecoNetwork 8 - Available Now! After an incredible amount of work in design, development, and testing, DecoNetwork 8 is here! With version 8, we recommitted ourselves...Read More

This Week in Catalog: May 11, 2018

This Week in Catalog: May 11, 2018 Lately, we've been getting a lot of new products in each week. More than is typical. All those new products (mostly in the S&S Activewear...Read More

DecoNetwork 8 - Update 2 now available: SEO Improvements and more (+75 tasks implemented)

DecoNetwork 8 - Update 2 now available: SEO Improvements and more (+75  tasks implemented) DecoNetwork 8 was released just ten days ago, but we have already a second update (8.002) available for you with many improvements and fixes...Read More