Post by RobinD » Sun Jan 27, 2019 1:17 am

I am new to version 2.3x and I am tearing my hair out trying do a simple thing - change the whole background color - away from white to something more subtle.
I have already made several changes via CSS to other elements but cannot find where to change background color.

Have searched for the answer here, and searched default stylesheet for the relevant code, but without success. What am I missing?!

Help anyone, please?

Newbie

Posts

Joined
Sun Dec 02, 2012 5:01 am

Post by DigitCart » Sun Jan 27, 2019 2:48 am

Hi
If you are using the default theme, add this:

Code: Select all

body {
    background-color: #eee;
}
to the end of this file:
catalog/view/theme/default/stylesheet/stylesheet.css

My Extensions / DigitCart


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by johnp » Sun Jan 27, 2019 3:06 am

Install this extension and add the code change above:

https://www.opencart.com/index.php?rout ... =viethemes

Opencart 1.5.6.5/Default Theme/VQMOD 2.6.1 lover, user and geek.
Fast Service for Opencart Installs, Fixing, Development and Upgrades plus Ecommerce, Marketing and More
https://asandwhenbusinessservices.co.uk
https://asandwhenbusinessservices.co.uk ... e-services


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by RobinD » Sun Jan 27, 2019 3:26 am

DigitCart wrote:
Sun Jan 27, 2019 2:48 am
Hi
If you are using the default theme, add this:

Code: Select all

body {
    background-color: #eee;
}
to the end of this file:
catalog/view/theme/default/stylesheet/stylesheet.css
Many thanks! Thought it would be simple but didn't think of trying that! Job done!
Robin D

Newbie

Posts

Joined
Sun Dec 02, 2012 5:01 am

Post by RobinD » Sun Jan 27, 2019 3:51 am

johnp wrote:
Sun Jan 27, 2019 3:06 am
Install this extension and add the code change above:

https://www.opencart.com/index.php?rout ... =viethemes
Thanks for that - I'll take a look at it.
RobinD

Newbie

Posts

Joined
Sun Dec 02, 2012 5:01 am

Post by DigitCart » Sun Jan 27, 2019 3:56 am

You are welcome.

My Extensions / DigitCart


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by flog » Mon Jan 28, 2019 3:52 pm

Hi Guys

That CSS works great but is there a way to change only the background and not the colour in the featured boxes on the front page as it changes the colour in these as well

Thanks

New member

Posts

Joined
Wed Jan 16, 2019 9:35 pm

Post by johnp » Mon Jan 28, 2019 9:13 pm

URL please.

Opencart 1.5.6.5/Default Theme/VQMOD 2.6.1 lover, user and geek.
Fast Service for Opencart Installs, Fixing, Development and Upgrades plus Ecommerce, Marketing and More
https://asandwhenbusinessservices.co.uk
https://asandwhenbusinessservices.co.uk ... e-services


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by flog » Mon Jan 28, 2019 10:50 pm

Hi its on my local PC at the moment I have made the image in the box a PNG that seems to work

Thanks

New member

Posts

Joined
Wed Jan 16, 2019 9:35 pm

Post by johnp » Mon Jan 28, 2019 11:14 pm

You could also give the text a class and include that on the styleshet. There are a few ways around the issue.

Opencart 1.5.6.5/Default Theme/VQMOD 2.6.1 lover, user and geek.
Fast Service for Opencart Installs, Fixing, Development and Upgrades plus Ecommerce, Marketing and More
https://asandwhenbusinessservices.co.uk
https://asandwhenbusinessservices.co.uk ... e-services


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: No registered users and 4 guests