Hey everyone,
How do I change the background color or add a background image for 3.0 default theme?
I've tried looking through the stylesheet but cannot find the correct line to edit.
Thanks in advance.
Hi,
File: catalog/view/theme/default/stylesheet/stylesheet.css
find rule
and add
#000 = black color in bg; change it with color you want
Good luck!
File: catalog/view/theme/default/stylesheet/stylesheet.css
find rule
Code: Select all
body {
Code: Select all
body {
background-color: #000;
background-image: url('path/to/background/image/file.png');
background-repeat: no-repeat; // or how you want
}
Good luck!
Either you can use the method given by OC-extensions or if you want to make changes to any particular template then navigate to Admin/Design/Theme Editor, here select your theme and makes changes to the template file.
Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt
Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company
Who is online
Users browsing this forum: No registered users and 64 guests