simpson7647 Posted April 4, 2012 Share Posted April 4, 2012 Sorry about the title, I mean centre as well as bold it. Hi all, im looking to centre the text in my information block as well as BOLD it. I'm currently here : /public_html/themes/prestashop/css/modules/blockcms/blockcms.css And currently see this : #footer .block_various_links { list-style: none } #footer .block_various_links li a { text-decoration: none } #footer .block_various_links li { display: inline; border-left: 1px solid #888; padding: 0 2px 0 4px } #footer .block_various_links li.first_item { border: none; padding-left: 0 } /* Block CMS links */ .informations_block_left .block_content { padding-top: 3px } Please help me out with what to do to achieve the above. Many thanks, Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 To center the text just add the line as below, make sure to add a semi colon after the 3px ;. Not sure what you mean by centering it. /* Block CMS links */ .informations_block_left .block_content { padding-top: 3px; text-align: center } Link to comment Share on other sites More sharing options...
simpson7647 Posted April 4, 2012 Author Share Posted April 4, 2012 Thank you, I woulld like to bold it too. That's what I meant, sorry for error in title. Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 No problem: Just add one more line of code as below, now you will need to add another semi colon after the center; /* Block CMS links */ .informations_block_left .block_content { padding-top: 3px; text-align: center; font-weight: bold } Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 I just realized something what happened here??? http://www.prestashop.com/forums/topic/161664-how-would-i-centre-the-text-in-the-information-block-please/page__fromsearch__1 Link to comment Share on other sites More sharing options...
simpson7647 Posted April 4, 2012 Author Share Posted April 4, 2012 I just realized something what happened here??? http://www.prestasho...__fromsearch__1 Thanks, yeah I found that but needed to know how to make it bold too. It doesnt seem to have made a different, it currently looks like this : #footer .block_various_links li.first_item { border: none; padding-left: 0 } /* Block CMS links */ .informations_block_left .block_content { padding-top: 3px; text-align: center; font-weight: bold } Is that 100% right? Thanks, Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 Yes that is correct, Be sure to go to back office and turn on force compile and turn off cache. (preferences/ performance) Link to comment Share on other sites More sharing options...
simpson7647 Posted April 4, 2012 Author Share Posted April 4, 2012 Ahh hasn't changed anything :/ Link to comment Share on other sites More sharing options...
simpson7647 Posted April 5, 2012 Author Share Posted April 5, 2012 is it because im using a custom theme? Thanks, Link to comment Share on other sites More sharing options...
tdr170 Posted April 5, 2012 Share Posted April 5, 2012 Look In themes/yourtheme/modules/blockcms. Not in modules you may have a custom module that is part of your theme. Link to comment Share on other sites More sharing options...
simpson7647 Posted April 6, 2012 Author Share Posted April 6, 2012 thank you, i'll look now. Link to comment Share on other sites More sharing options...
simpson7647 Posted April 6, 2012 Author Share Posted April 6, 2012 Look In themes/yourtheme/modules/blockcms. Not in modules you may have a custom module that is part of your theme. Inside this is blockcms.tpl What do you reckon? thanks Link to comment Share on other sites More sharing options...
tdr170 Posted April 6, 2012 Share Posted April 6, 2012 Sorry I screwed up it is... themes/yourtheme/css/modules forgot the CSS Link to comment Share on other sites More sharing options...
simpson7647 Posted April 6, 2012 Author Share Posted April 6, 2012 If I do it yourway, all I see is scenes, maintenance and global. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted April 6, 2012 Share Posted April 6, 2012 Please post a link to your site and I will have a look. Link to comment Share on other sites More sharing options...
simpson7647 Posted April 6, 2012 Author Share Posted April 6, 2012 thank you, it's www(dot)protectandenhance(dot)co(dot)uk Link to comment Share on other sites More sharing options...
tdr170 Posted April 6, 2012 Share Posted April 6, 2012 You have to enable the shop so I can look at it with my developer tools I should be able to tell you exactly what file and where it is located. Link to comment Share on other sites More sharing options...
tdr170 Posted April 7, 2012 Share Posted April 7, 2012 Such a very amazing link! __________________ Do not go to this link posted add. You will soon be BANNED and have been reported. Link to comment Share on other sites More sharing options...
simpson7647 Posted April 7, 2012 Author Share Posted April 7, 2012 Sorry, website is now live. Thanks, Link to comment Share on other sites More sharing options...
simpson7647 Posted April 8, 2012 Author Share Posted April 8, 2012 bump Link to comment Share on other sites More sharing options...
Recommended Posts