Vilas Posted December 30, 2011 Share Posted December 30, 2011 Dear Friends, I have installed newsletter module. But the Ok button is visible at left side which I wish to move to center of that block. Please find image for your referance. It will be great if anyone help me in this case. Thanks in advance. Regards Link to comment Share on other sites More sharing options...
preerp10 Posted December 30, 2011 Share Posted December 30, 2011 Looks like you're going to have to widen that block or reduce the size of the form fields or button. I would probably do the latter myself. You can do that in the CSS Link to comment Share on other sites More sharing options...
tdr170 Posted December 31, 2011 Share Posted December 31, 2011 I just took a look at mine I just installed this myself I have something you can try. Look under - yourshop/themes/prestashop/css/modules/blocknewsletter/blocknewsletter.css. Depending on your ftp program you should be able to right click the css file and choose edit. Look at the text within this file it should be like below, my button is centered. This is from version 1.4.6.2 /* Block newsletter */ div#newsletter_block_left div.block_content { padding: 1em 0; text-align: center } div#newsletter_block_left div.block_content p { padding: 0.3em 0; text-align: center } div#newsletter_block_left div.block_content input.button_mini { margin: 1em auto 0em auto } Link to comment Share on other sites More sharing options...
Vilas Posted December 31, 2011 Author Share Posted December 31, 2011 Dear TDR170, Thanks for suggestion. My css file contains same text. But still OK button not appearing at center. It will be great if you provide me any other suitable solution. I tried new newsletter modules also. But for that also OK button appears at left. Thanks Vilas Link to comment Share on other sites More sharing options...
tdr170 Posted December 31, 2011 Share Posted December 31, 2011 Ok give this a shot change the last line button_mini to this. div#newsletter_block_left div.block_content input.button_mini { margin: 1em; margin-left: 70px } change the margin left number to suite your needs. for some reason the auto feature isn't working on your theme. Link to comment Share on other sites More sharing options...
Vilas Posted January 2, 2012 Author Share Posted January 2, 2012 Hi, I have checked my site in Internet explore before adding ur code and in that OK button is appearing in center. Whereas in firefox its not. Let me check with code suggested by you. Thanks for kind support. Regards Link to comment Share on other sites More sharing options...
Vilas Posted January 6, 2012 Author Share Posted January 6, 2012 Dear TDR170, I tried u r solution also but its not working at all. Not in IE Or not in Mozilla. Can anyone have any solution on it? Thanks 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