Page 1 of 1

Unable to change style in Opencart 2.3.0.2

Posted: Thu Feb 16, 2017 4:42 pm
by dataimpact
I am having a problem changing the style.

I know the changes must be made in:
catalog/view/theme/default/stylesheet/stylesheet.css
this file is loaded in the header.tpl but when changes are made to this file nothing seems to happen.
When deleting this file also no changes are beeing made.

However when I delete this file:
catalog/view/javascript/bootstrap/css/bootstrap.min.css
Things are changing.
The problem with this file is that its not readable in notepad++, its just 1 long line of code.

I want to know if its possible to use simple css to change the appearance of our website?

Re: Unable to change style in Opencart 2.3.0.2

Posted: Sun Feb 19, 2017 2:56 am
by rgbworld
Check under Extensions > Themes to ensure that "Theme Directory" is set to "default", and confirm that it is enabled.

Re: Unable to change style in Opencart 2.3.0.2

Posted: Sun Feb 19, 2017 3:28 am
by dataimpact
I have checked and this seems to be the case.

The theme is set to enabled and the template is default.

Re: Unable to change style in Opencart 2.3.0.2

Posted: Sun Feb 19, 2017 3:53 am
by rgbworld
What page and css style are you trying to modify?

I would first try to modify something simple and confirm that the change takes effect. For example if you change:

Code: Select all

h1, h2, h3, h4, h5, h6 {
	color: #444;
}
to

Code: Select all

h1, h2, h3, h4, h5, h6 {
	color: #FF0000;
}
Does the color of the headings change? If not, clear browser cache and refresh the page again.

Re: Unable to change style in Opencart 2.3.0.2

Posted: Wed Mar 01, 2017 5:11 pm
by dataimpact
Thank you for your replay,

I have changed it but it does not have any effect.

When viewing the source in Chrome I get a path to the stylesheet but when changing that stylesheet, nothing get changed in either the appereance, nor the source file Chrome is referring to.

EDIT:
Cleare cache in Chrome and changes are beeing made... bump :-\

Re: Unable to change style in Opencart 2.3.0.2

Posted: Thu Mar 02, 2017 5:01 am
by cyclops12
Have you tried clicking refresh in extensions/modifications after you have edited the css file then refresh your browser cache and you should see the changes