Post by QuinnD » Fri Dec 23, 2016 5:03 pm

I am trying to change the look of the main menu bar, but cant get the css to have any effect, if i rename the file the menu bar vanishes so it seems i am editing the correct file, however i can empty everything from the file and that has no effect as long as the file exists nothing changes

have tried this in both the default theme as it comes out of the box, and created a new theme from the default files, so i can experiment, but neither has any effect on what the site displays.

v2.3.0.2

https://www.vapeasy.co.uk
Last edited by QuinnD on Fri Dec 23, 2016 6:29 pm, edited 1 time in total.

Newbie

Posts

Joined
Tue Dec 20, 2016 8:46 pm

Post by opencartmart » Fri Dec 23, 2016 5:34 pm

It is totally a cache issue. According to your server response, you are using varnish cache. You can temporarily disable the varnish cache by adding following line in .htaccess file

Code: Select all

Header add "disablevcache" "true"

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by QuinnD » Fri Dec 23, 2016 5:54 pm

thank you, i have tried that but still not working.

i can make the changes locally using inspect, but they wont show on the website

Newbie

Posts

Joined
Tue Dec 20, 2016 8:46 pm

Post by terasoft » Fri Dec 23, 2016 6:15 pm

try upload and replace file.

Newbie

Posts

Joined
Fri Dec 23, 2016 6:13 pm

Post by terasoft » Fri Dec 23, 2016 6:18 pm

QuinnD wrote:I am trying to change the look of the main menu bar, but cant get the css to have any effect, if i rename the file the menu bar vanishes so it seems i am editing the correct file, however i can empty everything from the file and that has no effect as long as the file exists nothing changes

have tried this in both the default theme as it comes out of the box, and created a new theme from the default files, so i can experiment, but neither has any effect on what the site displays.

v2.3.0.2

https://www.vapeasy.co.uk
Before I have same problem, Try upload file and replace.

Newbie

Posts

Joined
Fri Dec 23, 2016 6:13 pm

Post by QuinnD » Fri Dec 23, 2016 6:28 pm

got this working now, thank you

had to use this line of code in the htaccess file

Header set Cache-Control no-cache

Newbie

Posts

Joined
Tue Dec 20, 2016 8:46 pm

Post by paulfeakins » Fri Dec 23, 2016 9:00 pm

Or you can just hit refresh until it clears

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 236 guests