Jump to content

Changing Color of Navigation Bar


Recommended Posts

Recently Downloaded 1.6 and noticed that I can change the color of some buttons using the gears on the front office page but how can I change the color of the navigation bar, contact bar accross the top and the footer? I have tried editing the cc files, global and module, and nothing has happened. What am I doing wrong?

 

Link to comment
Share on other sites

Recently Downloaded 1.6 and noticed that I can change the color of some buttons using the gears on the front office page but how can I change the color of the navigation bar, contact bar accross the top and the footer? I have tried editing the cc files, global and module, and nothing has happened. What am I doing wrong?

If you are using one of the in built themes of the default template you'll find the changes under modules/themeconfigurator/css/ then the theme number you are using. example theme2.css. Hope this sends you the right way.

Link to comment
Share on other sites

  • 1 month later...

If you are using one of the in built themes of the default template you'll find the changes under modules/themeconfigurator/css/ then the theme number you are using. example theme2.css. Hope this sends you the right way.

Do you access this through the back office? In back office I've gone to modules - theme configurator - configure. I can see where to change a lot of variables but not color.

 

So I've used Filezilla to look in the Prestashop files, but I can't find modules/themeconfigurator/css/

 

Before that, I used Firebug, which indicated that the top navbar's background was called <div class="nav"> and it was in global.css. When I changed the color in Firebug, it worked.

 

So I edited the color in .nav in global.css and uploaded it, but nothing changed on my store.

  • Like 1
Link to comment
Share on other sites

So I edited the color in .nav in global.css and uploaded it, but nothing changed on my store.

Wait. No way... Approximately TWO HOURS after I uploaded that color change it appeared on my storefront.

It can't be a caching issue because I cleared the Firefox cache numerous time to try to view the change.

Weird.

Edited by nocturnal (see edit history)
Link to comment
Share on other sites

Wait. No way... Approximately TWO HOURS after I uploaded that color change it appeared on my storefront.

It can't be a caching issue because I cleared the Firefox cache numerous time to try to view the change.

Weird.

It is a caching issue. You must clear the prestashop's cache.

If you plan on doing changes in your layout , go into your backoffice > Advanced Parameters > Performance and under Smarty section disable the cache , and change to Force Compilation.

This disables the cache but DOES NOT EMPTY IT

You can empty the Cache by loggin with your FTP client and going into your shop's root directory and look for a folder named Cache > Smarty . There you will have 2 other folders Cache and Compile . Empty both of them BUT LEAVE the Index.php.

 

 

This should solve your caching problems.

 

When you are done with the modifications , re-enable the cache and set Recompile templates if the files have been updated

 

Happy shopping. Rate if you find this post useful.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...