Jump to content


Photo
- - - - -

ContentBox Plugin


  • Please log in to reply
3 replies to this topic

#1 matty16

matty16

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 12 February 2013 - 11:16 PM

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?



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 12 February 2013 - 11:51 PM

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.



#3 matty16

matty16

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 13 February 2013 - 01:34 AM

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

Attached Files



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 13 February 2013 - 03:06 AM

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

 

Please Login or Register to see this Hidden Content

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:

Please Login or Register to see this Hidden Content