Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Proddetail Page Product Name Centered
Author « Topic »  

copcars
Starting Member

USA
29 Posts

Posted - 12/01/2022 :  22:48:54  
After upgrading to Google Analytics 4, I have notice the Product Name on the Product Detail Page is centered. Previously it was left justified.

Also, on my main index page, I don't recall the Product Name being highlighted in a dark gray color.

The only changes I made involved the Google Tracking Tags...can you help me correct this?

Eric Payne

Vince
Administrator

42425 Posts

Posted - 12/02/2022 :  03:26:23  
Hi Eric
Sure, I think if you add this to css/ectstyle2.css it should solve the problem...

div.detailname {
float: none;
clear: both;
width: auto;
}

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

copcars
Starting Member

USA
29 Posts

Posted - 12/02/2022 :  09:25:31  
Thanks Vince,

The following code is currently in the ectstyle2.css:

div.detailname h1 {
font-size: 1.8em;
margin:5px;
float:left;
width:70%;
border-bottom:1px solid #eee;
}

div.detailname h1 {
float:left;
width:98%;
}

Do you recommend just adding what you suggested or modifying any of the above code?

Also, on my index.php page, the product name is highlight in a dark gray color. I just want it to look exactly like how they are shown on the products.php page.

Here is css code that's listed on the ectstyle2.css page:

div.csprodname{
padding-top:6px;
font-size: 1.2em;
margin:4px 0px;
float:left;
width:98%
}

Eric Payne

copcars
Starting Member

USA
29 Posts

Posted - 12/02/2022 :  09:35:19  
In addition to the gray highlighting... the products I have listed on the index.php page, the price is now centered. I want it left justified just like on the products.php page.

div.csprodprice{
float:left;
width:98%;
margin:2px 0px;
font-size:1.1em;
color: red;
}

div.csprodprice1{
color: red;
}


Eric Payne

Vince
Administrator

42425 Posts

Posted - 12/03/2022 :  05:09:11  
Hi Eric
quote:
Do you recommend just adding what you suggested or modifying any of the above code?
Yes, I would take the float and the width out of those too.
quote:
the price is now centered. I want it left justified just like on the products.php page.
I had a look and it seems to be left justified now. Did you solve this yourself?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

copcars
Starting Member

USA
29 Posts

Posted - 12/03/2022 :  06:38:44  
I ended up deciding to manually install the google analytics tracking tags on each page. When I manually installed the tags and removed my google measurement-ID from the Admin Main Settings section it immediately corrected the problems listed above.

I definitely like the global setting option for GA4, but currently there were too many quirky things that popped up on the site after submitting my measurement-ID.

Thanks again for your help!

Eric Payne
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000