aga63 Posted December 26, 2010 Share Posted December 26, 2010 Hi1. Is there a horizontal module which allows me to display images next to categories? here is an example from another prestashop user. I would prefer this module if any knows which one it is as i cannot find it in the forum.I want to be able to display the category and category image in the form of belowhttp://www.bvkyazilim.com/cart/2. I want to add a text which is available on every page and every different langauge (translatable), how can i do this? i want to add a basic text saying free shipping on all orders. preferably it should appear in the middle on every page.Thanks for your assistance. Link to comment Share on other sites More sharing options...
rocky Posted December 26, 2010 Share Posted December 26, 2010 1. The Top Horizontal Menu module lets you add icons to menu items.2. Add code like the following to the bottom of header.tpl in your theme's directory add it to the top of the centre column: {l s='Your text here'} You can then translate that text by going to Tools > Translations > Front Office translations. Link to comment Share on other sites More sharing options...
aga63 Posted December 26, 2010 Author Share Posted December 26, 2010 Hi Thanks for your help. How do i make the hieght of the bar longer. so it strectches down a bit more?when i copy the code to the end of the header the website stops loading up, please see attachedThanks Link to comment Share on other sites More sharing options...
rocky Posted December 27, 2010 Share Posted December 27, 2010 You should be able to adjust the menu bar height from the configuration page. Look for "Menu height" or "Item height". I've forgotten which option does it. If that doesn't work, you will need to edit the CSS file and look for the height there. Link to comment Share on other sites More sharing options...
aga63 Posted December 28, 2010 Author Share Posted December 28, 2010 I there is nothing in the module to adjust the hieght. which file would i need to edit? and what should i look out for? ie which numbers do i change?Also the {l s='Your text here'} does not work as when i add it the website does not load up in the front office. Link to comment Share on other sites More sharing options...
rocky Posted December 28, 2010 Share Posted December 28, 2010 Then I think you will have to modify the height in superfish-modified.css.That translation line should work. Make sure you are adding it below the <body> tag.If you ever encounter a blank page, edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on' to get an error message that can help find the cause of the problem. Link to comment Share on other sites More sharing options...
aga63 Posted December 28, 2010 Author Share Posted December 28, 2010 what do i change in the superfish-modified.css? Link to comment Share on other sites More sharing options...
rocky Posted December 28, 2010 Share Posted December 28, 2010 I don't remember and I don't have the file here to look at. Look for height values in there. My guess is that the one closest to the top of the file will be the one you should edit. Link to comment Share on other sites More sharing options...
aga63 Posted January 6, 2011 Author Share Posted January 6, 2011 I have tried everything. i even sent an post message to the horizontal module.I dont know what to do knowplease recommend something it is very important for me to achieve thisi look forward to hearing from youAli Link to comment Share on other sites More sharing options...
rocky Posted January 7, 2011 Share Posted January 7, 2011 Changing the height and line-height in the following code at the top of superfish-modified.css should increase the height of the menu: .sf-contener { clear: both; margin: 10px 0; height: 30px; line-height: 30px; padding-left: 7px; background: transparent url(../gfx/menu/menu.gif) no-repeat left center; } The height and line-height are 30px by default. That won't change the background image though. You will need to edit modules/jbx_menu/gfx/menu/menu.gif to increase the height of it. You will also need to increase the height of the items on the configuration page so that the item heights match the new menu height. Link to comment Share on other sites More sharing options...
aga63 Posted January 8, 2011 Author Share Posted January 8, 2011 Hi the modules/jbx_menu/gfx/menu/menu.gif does not exist in my directoryi can supply ftp info if you wish to have a look Link to comment Share on other sites More sharing options...
rocky Posted January 8, 2011 Share Posted January 8, 2011 Thanks, PMing me your FTP details will make it easier to help. Link to comment Share on other sites More sharing options...
aga63 Posted January 10, 2011 Author Share Posted January 10, 2011 HiThanks for all your assistance. I added the {l s='Your text here'} code into above the centre part in the themes header.tpl the problem is that the writing appears above the shopping cart. When I want it to appear above the horizontal module.I have included a screen shot of what i want to write and where i want it to go. can you tell me what and where i would need to change to add the relevant text to appear above the horizontal moduleThanks again, I am grateful Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 I can't see any screenshot. You can't place text in between modules in a hook, so it's difficult to do, especially without actually messing around with the code. I suggest that you use CSS to move the text. Change: {l s='Free International Shipping'} to: {l s='Free International Shipping'} then add CSS code to global.css like this: div#free_shipping { position: absolute; top: 0; left: 0; } Play around with different top and left values until you are happy with the position. Link to comment Share on other sites More sharing options...
aga63 Posted January 10, 2011 Author Share Posted January 10, 2011 i have pm you the screen shot. I am having difficulty uploading the screen shot here. for some reason it wont upload here Link to comment Share on other sites More sharing options...
rocky Posted January 11, 2011 Share Posted January 11, 2011 I suggest that you post in the "Job Offers" forum asking for help. It's hard to get help with the many adjustments you want for free. I think you may be better of paying someone to create a theme just how you want it. 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