zybxtv Posted March 22, 2012 Share Posted March 22, 2012 I use the default themes as my online store, but how to change homepage themes color? and how to change the different blocks color on the homepage? is anyone can help me ? thanks. Link to comment Share on other sites More sharing options...
Guest aritali Posted March 22, 2012 Share Posted March 22, 2012 It would change them globally, but you would need to edit the global.css file. Link to comment Share on other sites More sharing options...
tdr170 Posted March 22, 2012 Share Posted March 22, 2012 If you are speaking of the grey blocks that have the text in them such as Categories, Manufacturers etc, the only way to change them is to create new image files or edit the existing ones. They are located in ...themes/prestashop/img, here you will fiind image files such as block_header.png, block_header_exclusive.gif as the images are gif or png you will need an image editing program capable of editing such files. The global.css file will not really change any theme colors only background colors, text colors, mouse over colors, or text size. After you look at the images and decide if you really want to take on this task use your FTP program to copy the img folder to your computer than create a folder named new images and save all modified or new images there that way you will have a backup in case things go wrong. Hope this helps. 3 Link to comment Share on other sites More sharing options...
Guest aritali Posted March 22, 2012 Share Posted March 22, 2012 After you look at the images and decide if you really want to take on this task use your FTP program to copy the img folder to your computer than create a folder named new images and save all modified or new images there that way you will have a backup in case things go wrong. And after you create that new folder with the new images and upload it, nothing i s going to happen, unless you change the linking in the global.css file. But at the same time, if you are trying to edit module headers, you will have to go into the module css files. What I do when I theme a site is just upload the whole modules directory to the themes directory. Then you can edit your modules at will and have your custom edited modules called for your theme. At the same time, if you are just trying to edit the look of you modules on your home page, you can set up if statements in your modules to check what page they are on. Link to comment Share on other sites More sharing options...
tdr170 Posted March 22, 2012 Share Posted March 22, 2012 That is incorrect and why you use the same names as the original files in the img folder. I have done this and no editing of CSS is required as long as the names are the same. You will not upload the folder just the images over writing the originals with the new or modified ones. You will have no reason to edit any CSS files unless you want to change text color. There is also already a modules folder in the themes folder that contains all CSS files for the Modules with CSS files it is located here ...themes/prestashop/css/modules Follow my directions and all will be OK. 3 Link to comment Share on other sites More sharing options...
Guest aritali Posted March 22, 2012 Share Posted March 22, 2012 The reason I upload the whole modules folder is to edit the actual modules. Not the css files, I think it is kind of janky to hide things with visibility. Plus at the same time you retain a back up of the original modules on the site, if you ever need to switch to the default theme for testing. Now when you say to upload and overwrite the old images, that doesn't take any css editing. Link to comment Share on other sites More sharing options...
ayin Posted January 10, 2015 Share Posted January 10, 2015 (edited) =============== New Question ================= Hello, In version 1.6, can you guys give me a similar hint on how to change the color of the top navigation bar with (Language, Currency, login) to this color: #ec930b? I located the element with Chrome Inspector and it is "<div class="nav"><div class="container"><div class="row"> <nav><div class="header_user_info"> <a class="login" href=...." Localting it in the Global,css file, i found: line 2216: ".nav { margin-bottom: 0; padding-left: 0; list-style: none; } .nav:before, .nav:after { content: " "; /* 1 */ display: table; /* 2 */ } .nav:after { clear: both; } .nav > li { position: relative;" I tried to add the instruction: ".nav { background-color: #ec930b; margin-bottom: 0; ... " And it does not change the color. If i change the "Container", it changes too much (including elements below) line 557: ".container { background-color: #ec930b; margin-right: auto; margin-left: auto; ... " Any hints? Thanks Edited January 10, 2015 by ayin (see edit history) Link to comment Share on other sites More sharing options...
cille5 Posted January 10, 2015 Share Posted January 10, 2015 Hint. Download STYLIZER 6 css editor (free 14 days trial). You can edit your site a lot without knowing anything about css coding, with this program. 1 Link to comment Share on other sites More sharing options...
ayin Posted January 10, 2015 Share Posted January 10, 2015 (edited) But i wish to learn about prestashop.. EDIT: i though it would be a module. I am testing this applications and sounds awesome. Thanks Edited January 10, 2015 by ayin (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now