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
 Changing background colour
Author « Topic »  

ClaireArt
Advanced Member

101 Posts

Posted - 10/13/2021 :  08:14:46  
Hi, I have upgraded my website design. Where would i find code to change the background colour of the shop webpages from grey to white?

My template has been applied but the background colour didn't change on my shop pages that surround your iframe.

My website - correctly showing the template colour - www.claire-harrison.co.uk
The shop pages showing grey as the background colour - https://www.claire-harrison.co.uk/shop/categories.php

Thank you, kind regards Claire.

Phil
ECT Moderator

United Kingdom
7618 Posts

Posted - 10/13/2021 :  08:39:58  
Hi Claire,
It seems you have inline css adding that grey background colour on every page.

If you look for the following in the categories.php page and remove it, the same applies to all the other pages.

body {
background-image: url();
background-color: #E4E4E4;
}



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

John M
Advanced Member

457 Posts

Posted - 10/13/2021 :  08:46:04  
Hi Claire,

You have this style css below embedded in your categories.php

<style type="text/css">
<!--
body {
background-image: url();
background-color: #E4E4E4;
}
body,td,th {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666666;
font-size: 14px;
}
h1 {
font-size: large;
color: #333333;
font-family: "MS Serif", "New York", serif;
font-style: italic;
}
a:link {
color: #333333;
}
-->
</style>

You should remove all this above and use the css/style.css to make any site specific changes to your website pages.

John

ClaireArt
Advanced Member

101 Posts

Posted - 10/20/2021 :  06:05:40  
which css file is it looking at? I have cart, style or generic?

Phil
ECT Moderator

United Kingdom
7618 Posts

Posted - 10/20/2021 :  06:19:00  
The first thing you need to do is remove the embedded css code below which is on all your store files such as categories.php


<style type="text/css">
<!--
body {
background-image: url();
background-color: #E4E4E4;
}
body,td,th {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #666666;
font-size: 14px;
}
h1 {
font-size: large;
color: #333333;
font-family: "MS Serif", "New York", serif;
font-style: italic;
}
a:link {
color: #333333;
}
-->
</style>


Then add the following css rule to your css/ectstyle.css file

body {
background-color: #FFFFFF;
}




*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 10/20/2021 06:20:24

ClaireArt
Advanced Member

101 Posts

Posted - 10/20/2021 :  06:48:12  
Thank you phil i've done that to all my php pages and resolved the issue.
  « 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