Johnny32 Posted July 27, 2014 Share Posted July 27, 2014 Hello Forum, I need some advice on how I can have a larger homepage logo. I currently have a small logo on the top left side and I want to use a larger image that will go across the entire top side, without covering up the search bar, contact, sitemap and shopping cart. Is that possible to change? Using PrestaShop 1.5.6.2 Thank you for any help! Johnny Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 what theme you use? can you share url to your shop, please? Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 Hi, the default theme, I hope that is the name of the standard theme. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 okay, so in your case the best thing will be modification of theme. create your logo image with size: 100px x 980px for example, something like: and upload it via FTP service to /img/ directory then in global css create this: #header { background: url('http://www.americascuisine.com/siteImages/texas/dallas/featured/featuredad539.png') no-repeat; } #header .logo {display:none;} where http://www.americascuisine.com/siteImages/texas/dallas/featured/featuredad539.png must be an url to image that you uploaded to /img/ directory effect: Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 Where exactly in global css do I create this? Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 you can paste it at the end of the file, it's not so important, only syntax of css must be proper Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 Ok, now the picture disappeared. I know I'm doing something wrong with the picture url. Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 For some reason the image does not show up anymore. Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 your shop is under maintenance mode at the moment, i cant check it Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 it's open again Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 you use wrong url, i replied to your PM, plesae change url and then everything will be alright Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 now I have a question mark. Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 you still use different url http://XXXX.de/img/logo.jpg'>http://XXXX.de/themes/gc-default/css/http://XXXX.de/img/logo.jpg it;s not url that i suggested to use: http://XXXX.de/img/logo.jpg where XXXX is your domain name :-) Link to comment Share on other sites More sharing options...
Johnny32 Posted July 27, 2014 Author Share Posted July 27, 2014 the last url is what I used but the the css global is under themes/gc-default/css Does that help the situation? Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 This is what I put in the themes/gc-default/css/global #header { background: url('http://xxxx/img/logo.jpg') no-repeat; } #header .logo {display:none;} Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 perhaps your problem is related to fact, taht you've got ccc for css files so after changes - they just dont appear due to this while you're working on your theme, please turn it off (ccc for css), turn off cache, and turn on force compilation. Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 It worked. When do I change the settings back? I guess one problem solved the next on comes about. Is there a way to change the color of the contact, sitemap etc. Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 sure, paste this code to global.css: #header_links a, #header_user_info { background:#000; padding:2px 5px; color:orange; } #header_user_info .login { color:orange; } effect after recompilation of theme with changes, you can put back options you switched under preferences > performance tab Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 Thank you very much. Such a great help! If I put it back to ccc the ? symbol comes again. Or does it take several hours for recompilation? Thank you once again Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 i think that before you will turn ccc on it's worth to clean up /cache/ directory located in your theme directory (not in root dir of prestashop installation !) Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 you mean, themes/gc-default/cache/ I can delete the information that is in that folder? Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 yes, files will be generated right after first page refresh Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 After clearing the cache and changing to ccc back the ? came again. Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 it's strange that it changes itself can you try with different image name? instead logo use something else Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 I'll try that but something I just noticed, is, that when I go over the header logo I used to be able to click on it and go back to home. Is that feature gone with a header like that? Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 note that it's a background, "under" search block, cart block etc. elements like that aren't clicable. the only one thing is to add anhor to these elements in header.tpl file Link to comment Share on other sites More sharing options...
Johnny32 Posted July 28, 2014 Author Share Posted July 28, 2014 Ok, I tried another file name and the same happened. How important is ccc? To add anhor? Sounds even more complicated, sorry not very good with this stuff, I tried looking all over today but can't find where I can change the Willkommen,the W is looks almost cut off and I wanted to give it one space. On top, the Kontakt and sitemap, is it possible to have the same size as below the Willkommen and Anmeldung, so it looks even? Sorry for all these questions but after looking for hours and not seeing anything it gets frustrating. Link to comment Share on other sites More sharing options...
GrooviestG Posted October 6, 2014 Share Posted October 6, 2014 Hello Vekia i think I followed all your steps but small logo is gone, now no logo at all www.wellnesspark.es/OnlineShop help would be very much appreciated regards Frankie 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