Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Centering blockquotes on the center area


  #1  
Old Jun 2, 2013, 06:42 PM
keith_h
 
21 posts · Jun 2013
I am wondering how to center blockquotes on the center block.

Here is my test page: http://wholehearted.heinrich.id.au/?page_id=80 which you can see is offset. I would like the blockquote centered in the center block.

The code from the blockquotes styling:

Blockquotes:

text-align: center;
width: 750px;
font: italic 1.1em arial, sans-serif;
color: #fff;
padding: .1em .1em;
background: #A50D12;

blockquotes in blockquotes:

text-align: right;
width: 680px;
font: italic .8em arial, sans-serif;
color: #fff;
background: #A50D12;

I am using this method to provide the quote and citation in different styles. The widths are different to align the citation text inside the overall blockquote.

Is there an overiding code for centering the blockquote itself and where should it go?

Appreciate your assistance.
  #2  
Old Jun 2, 2013, 08:27 PM
keith_h
 
21 posts · Jun 2013
I figured it out. This screwed it up: width: 750px;

I've tagged the text individually instead of using nested blockquotes.

This code works:

text-align: center;
font: italic 1.1em arial, sans-serif;
color: #fff;
padding: 1em 1em;
background: #A50D12;
width: 750px;
margin-left:auto; margin-right:auto;

And the blockquote is centered at the size specified. Huzzah.

Last edited by keith_h; Jun 2, 2013 at 08:36 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Centering pics in center column northstar Sidebars & Widgets 1 Mar 6, 2013 10:46 AM
Centering title on new wiget area: monkeymitch1 Sidebars & Widgets 8 May 1, 2012 05:08 AM
Centering Page menu with center column Alcatraz New Versions, & Updating 3 Nov 27, 2010 07:16 PM
Centering the content of the center column gaidin Center area post/pages 2 Nov 7, 2010 09:55 PM
Suddenly, new widget area not centering paulae Header configuration & styling 2 Nov 4, 2009 02:24 PM


All times are GMT -6. The time now is 04:12 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.