Jump to content

Understanding blocks (changing the cart block position


Recommended Posts

First, I want to say thank you to the community for such a great product!  I've only just discovered prestashop, so I'm very much a noob here.  I've been using wordpress as my ecommerce platform, and I just couldn't take it any longer - had to jump ship.

 

So, I'm having a problem understanding how to format things.  I want to disable the search on my site, but keep the cart in the current position. 

 

Here it is currently:

 

post-946878-0-61701700-1426302090_thumb.png

 

But when I remove the search, the cart shifts to the left.

 

post-946878-0-49128300-1426302094_thumb.png

 

What would I need to do to keep the cart where it is?  Is there a way for me to add a space / empty <div> to the formatting?

 

Thanks

Link to comment
Share on other sites

How have you removed the search box ???

 

You could look in themes/YOUR-THEME/css/modules/blocksearch/blocksearch.css and find this


#search_block_top {
    padding-top: 50px;
}

and change it to 

#search_block_top {
    padding-top: 50px;
    display: none;
}
  • Like 1
Link to comment
Share on other sites

Thank you very much for your reply mickeyboy1.  I've set the search box to display:none and it worked perfectly.

To answer your original question - yes, I had disabled the search block entirely at first.  It is active now, but not displayed.

 

The cart is now on the right aligned and looks good, and the search box appears removed.

 

I'm still getting used to this theming system - it's alot to take in!

Edited by LeadFoot (see edit history)
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...