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)
-   -   Widget Styling Help (http://forum.bytesforall.com/showthread.php?t=11480)

JonRouston Dec 2, 2010 05:18 AM

Widget Styling Help
 
Hi,

I'm trying to style the wigets at the top of the page here: http://www.jonrouston.com/newtestblog/
and I can't find where I need to add the code? I've tried adding it to 'Widget Container' and 'Widget Content Box' and neither seems to have an effect.

I am trying to make the widgets all text-align:center; and remove the bullets

As an aside, can anyone tell me how to stop those widgets appearing on pages?

Thanks for any help

Jon

lmilesw Dec 2, 2010 12:56 PM

The alignment for those areas is explained in ATO>Add new widget areas. For example to have a widget area with the text aligned center and at the top you would use &align=2 in the widget code. To have them not appear on pages you can wrap the code in a php conditional such as the following.
PHP Code:

<?php if( is_page() ) bfa_widget_area('name=My new widget area'); ?>

If you don't want them on particular pages you can put the id in the parentheses after is_page or you could alternatively use a plugin such as Display Widgets to show or hide the widgets on certain pages.

JonRouston Dec 2, 2010 02:35 PM

Thank you very much, managed to sort out only appearing on one page, and now understand the alignment, but I'd like to get rid of the bullet and change the font, do you know where I can do this?

Again, thanks for your help

Jon

lmilesw Dec 2, 2010 02:58 PM

Styling for widget is in ATO>Style Widgets or you can determine the selector for the particular widget you are using and style it in ATO>Add HTML/CSS Inserts>CSS Inserts.


All times are GMT -6. The time now is 09:36 AM.

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