Jump to content

2 questions


aga63

Recommended Posts

Hi

1. 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 below

http://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

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

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

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

  • 2 weeks later...

I have tried everything. i even sent an post message to the horizontal module.

I dont know what to do know

please recommend something it is very important for me to achieve this

i look forward to hearing from you

Ali

Link to comment
Share on other sites

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

Hi

Thanks 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 module

Thanks again, I am grateful

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...