enquire Posted March 30, 2014 Share Posted March 30, 2014 Hi, I have managed to disable the top banner and delete the "call us now toll free....", but I'm still left with a black area on the top of the front-end page where it says contact us and sign in. See attachment I can't see in blockbanner css anything relating to this black area. Where can I delete it? I also wanted to delete the background colour in the blockcart area, but again I can not see background colour in the blockcart css Where can I delete this? Any advise would be greatly appreciated. Thanks Link to comment Share on other sites More sharing options...
PrestUser Posted April 1, 2014 Share Posted April 1, 2014 (edited) Hello, To properly hide the black banner containing "Call us now toll free…", "Contact us" and/or "Sign in", you have to unhook BlockContact, BlockUserInfo modules, and eventually BlockLanguages and BlockCurrencies, that are transplanted (hooked) in the "displayTop" position (see BO > Modules > Positions). Or to achieve the same result more radically and easily: disable, uninstall or delete all modules that display something in this black top banner, I mean BlockContact, BlockUserInfo, BlockLanguages and BlockCurrencies. But you may loose some fonctionalities, brought by these modules, that appeared elsewhere (in other positions). Hope this helps, Regards. Edited April 1, 2014 by PrestUser (see edit history) Link to comment Share on other sites More sharing options...
enquire Posted April 1, 2014 Author Share Posted April 1, 2014 (edited) Thanks for the advise. I would like to keep the contact us and sign in, but I don't want the black colour. Does anybody know in which folder and in which css or php etc. is the black colour determined for the top banner? Regards Edited April 1, 2014 by enquire (see edit history) Link to comment Share on other sites More sharing options...
alyas786 Posted April 3, 2014 Share Posted April 3, 2014 hi how did you remove toll free no I new in this and im trying to that but I don t know how please let me know Link to comment Share on other sites More sharing options...
tdr170 Posted April 3, 2014 Share Posted April 3, 2014 The black nav bar background is part of the global.css file at line 5279 looks like this: header .nav { background: #333333; } If you remove the color you will also need to adjust the color of any text contained within the nav bar ie: contact, sign in. The toll free # that is in this bar was removed in 1.6.0.5 so I assume you are using 1.6.0.4 or earlier. In those versions it is in the header.tpl file however these versions were not meant for actual online store but for testing. 1 Link to comment Share on other sites More sharing options...
PrestUser Posted April 3, 2014 Share Posted April 3, 2014 Hello, The toll free # that is in this bar was removed in 1.6.0.5 so I assume you are using 1.6.0.4 or earlier. Actually I just redownloaded and reinstalled PrestaShop 1.6.0.5, and the "Call us now toll free" mention is there for good. Maybe tdr170 is referring to the online PrestaShop demo. I realized that the online PrestaShop demo doesn't reflect the current PrestaShop official version fresh install, at the time I am writing these lines. Some bugs are corrected, so the online demo is some kind of version 1.6.0.5.x. Regards. Link to comment Share on other sites More sharing options...
enquire Posted April 3, 2014 Author Share Posted April 3, 2014 Hi, Thank you so much for your instructions in how to remove the background colour from header. nav It worked perfectly, very happy ! Regards Link to comment Share on other sites More sharing options...
PrestUser Posted April 3, 2014 Share Posted April 3, 2014 (edited) Hello enquire, In fact, your question was how to change the background color of the top banner, and not how to delete this top banner… Regards. Edited April 3, 2014 by PrestUser (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 3, 2014 Share Posted April 3, 2014 (edited) hi how did you remove toll free no I new in this and im trying to that but I don t know how please let me know I actually took another look at the nav bar (800) issue and this was removed after the Alpha release so sorry my bad. The Toll free is coded into the blockcontact module in nav.tpl look to line 30. Edited April 3, 2014 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
alyas786 Posted April 4, 2014 Share Posted April 4, 2014 im using Version 1.6.0.5 and toll number is on top left hand how can i delete it Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2014 Share Posted April 4, 2014 im using Version 1.6.0.5 and toll number is on top left hand how can i delete it Can you post a link to the site so as to have a first hand look. Link to comment Share on other sites More sharing options...
PrestUser Posted April 4, 2014 Share Posted April 4, 2014 Hello, @ alyas786: I think that simply unhooking the BlockContact module from the "displayTop" position (see BO > Modules > Positions) will do the trick, as suggested earlier in this discussion. Regards. 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