Jump to content

Hi all, looking to centre text in 'information block' as well as centre


Recommended Posts

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

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

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

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

×
×
  • Create New...