Archived

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

  • 0

Callout customizations


Question

Posted · Report post

How can I have the entire Callout area moved to the right, like this: http://screencast.com/t/QX3pQIvM2s ?

 

And shouldn't there be a box in Page Settings for adding a class to Callout section, or some other way to style just one Callout instead of all of them, like with a text-align:right; or something?

 

Thank you.

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Hi Cliff,

 

You can always prefix any CSS with .page-id-XX (where XX represents the page ID number assigned by WordPress).

 

Finding the correct element in Firebug or Chrome's Inspection Tool should result in the ability to apply a padding-left or margin-left.   I'm doubtful that float:left will work as it would probably cause a conflict with the button.

 

To answer your query about a box for a Callout Section, such a class would be applied to the whole Callout, which is a pre-styled section with a particular layout. As it wouldn't apply to any individual component of the Callout, there would be no impact on redesigning its layout.  This is why direct, custom CSS is a more effective, efficient and productive method of customization.

Share this post


Link to post
Share on other sites

Posted · Report post

I'll pass it along to the developers.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks.

Share this post


Link to post
Share on other sites

Posted · Report post

A css class option should be added to the Callout customization options, like the Content Box Class option for ContentBox. One reason is because page-id- does not show up anywhere in View Source on the Blog Template page. If you have a way to move the text to align right, please share.

I tried

<span style="float:right;">blah</span>

within the Callout text option, but it didn't do what I wanted, and text-align:right; didn't do anything.

 

Also, more built-in styles would be cool too.


Thank you.

Share this post


Link to post
Share on other sites