Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Help with Styling Widgets (http://forum.bytesforall.com/showthread.php?t=12973)

JonRouston Feb 24, 2011 03:10 PM

Help with Styling Widgets
 
Hi all,

I'm wondering if anyone can help, I have a website with three widgets set up at the top which contain
*A Widget Title
*The featured image of a most recent post in a category
*The excerpt of a most recent post in a category
*A link to all of the posts in that category

The blog is here: http://www.jonrouston.co.uk/blog/

I'm having problems getting those elements to line up correctly so that each of the four things detailed above lines up in the center.

So far I've tried
*Giving lots of elements a width of 33%
*Using text-align: center on stuff
*Removing the indent on the lists in Atahualpa style widgets

As you can see, I'm a bit of a CSS novice. If anyone could point me in the right direction (I'm not asking for code, just a bit of a nudge in the right direction), I'd be really grateful.

Thanks
Jon
jon

Innocent Feb 24, 2011 03:21 PM

Hi!

I am using this code to center mine.

div.widget {
text-align: center !important;
}

(btw, very beautiful photos)

JonRouston Feb 24, 2011 04:20 PM

Quote:

Originally Posted by Innocent (Post 58891)
Hi!

I am using this code to center mine.

div.widget {
text-align: center !important;
}

(btw, very beautiful photos)

Thanks, really appreciate it!

Unfortunately though that didn't work. I'm guessing I need to find a div that encloses the others so I can center them in that?

Am I allowed to offer this as a job (i.e. paying) on this board?

juggledad Feb 24, 2011 06:48 PM

Sure you can. Let me ask you, what widgets are you using in each area?

JonRouston Feb 25, 2011 02:34 AM

Hi,

I have a plugin called 'category-posts' plugin and their widget is the first one. Followed by a text box which contains 'read other posts about <category>'

If anyone would like to sort this out for a bit of cash please email me jon@jonrouston.co.uk. Thanks


All times are GMT -6. The time now is 05:45 PM.

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