Archived

This topic is now archived and is closed to further replies.

  • 0

ContentBox Plugin

Question

Posted · Report post

Hi

I've put a content box on my home page with the class contentboxhome. I would like to customize the justification of the text to centre. Where in the editor would I make this adjustment and how?

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi,

 

On the page where you are using the Content Box, in the PageLines Meta Settings, where you add the text for the box, just include unique classes.

 

For example:

<div class="cboxtitle">A title</div>

<div class="cboxbody">The body and text inside your content area.</div>

 

You can then craft custom CSS to center the title or body, change the fonts, font colors, sizes, etc.

Share this post


Link to post
Share on other sites

Posted · Report post

This is what I have, where do I make the changes? In the class or the content section

post-38820-0-53924900-1360719224_thumb.j

post-38820-0-98529300-1360719225_thumb.j

Share this post


Link to post
Share on other sites

Posted · Report post

You could use the existing class you created with the box OR, as I mentioned earlier, add the divs.

 

Like this:

 

<div class="cboxbody">Social media.....</div>

 

Then, like your example of CSS, you'd craft

 

.cboxbody {font-size: 1.25em;
font-weight:bold;
font-color:red;
text-align:center;}

This is just an example. It's not specific recommend code for your site.  You can do all sorts of things with CSS as found in this site: http://www.w3schools.com/css/

Share this post


Link to post
Share on other sites