Jump to content
Sign in to follow this  
matty16

ContentBox Plugin

Recommended Posts

matty16    0
matty16

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
Rob    547
Rob

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.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
matty16    0
matty16

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
Rob    547
Rob

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/


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×