noesac Posted July 16, 2010 Share Posted July 16, 2010 I removed the "contact", "sitemap" and "bookmark" icons / links by commenting out all the code in permanentlinks-header.tplNow I found that the "Search" block (field + button) aren't perfectly centered on the page (see screenshot). Can anyone tell me what I need to modify to do this?http://i25.tinypic.com/30l2smb.png Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 16, 2010 Share Posted July 16, 2010 What is the link to your site? Need to see the HTML produced. Link to comment Share on other sites More sharing options...
Patric Posted July 16, 2010 Share Posted July 16, 2010 Topic moved. Link to comment Share on other sites More sharing options...
noesac Posted July 16, 2010 Author Share Posted July 16, 2010 http://tiny.cc/ef3xw Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 18, 2010 Share Posted July 18, 2010 It looks centered in my browser window, what's the problem, again? Link to comment Share on other sites More sharing options...
noesac Posted July 21, 2010 Author Share Posted July 21, 2010 I fixed it. You have to change the final "em" value in the code below. You need to tweak it to suit your needs: #header #search_block_top p { padding: 0.4em 0 0.4em 8em; } Changing the alignment below to "center" doesn't fix it, only the above: #header #search_block_top label, #header #search_block_top input{ float:left; } to #header #search_block_top label, #header #search_block_top input{ float:center; } Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 22, 2010 Share Posted July 22, 2010 float:center wouldn't work anyway. The only accepted values are left, right, none, and inherit. Link to comment Share on other sites More sharing options...
noesac Posted July 22, 2010 Author Share Posted July 22, 2010 float:center wouldn't work anyway. The only accepted values are left, right, none, and inherit. And that explains it!! Link to comment Share on other sites More sharing options...
T-bird Posted July 31, 2010 Share Posted July 31, 2010 I'd like to move the search block to the left hand side. I tried playing with the "em" values but that either didn't do anything at all or it caused the search box to 'disintegrate'! Any idea how to do this? I'm keeping the other links in the middle (sitemap, contact, etc.) but I've moved everything below the main banner.Cheers,Andy Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 31, 2010 Share Posted July 31, 2010 did you try float:left? Link to comment Share on other sites More sharing options...
T-bird Posted July 31, 2010 Share Posted July 31, 2010 Hi,It's already on 'float: left' in the global.css. It came that way from Prestashop.Andy 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