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)
-   -   I have CTC widget in my sidebar. Can I <center> the contents in the column. (http://forum.bytesforall.com/showthread.php?t=15760)

markzip Oct 24, 2011 10:23 PM

I have CTC widget in my sidebar. Can I <center> the contents in the column.
 
In a theme other than Atahualpa I would go to the "sidebar.php" and just chuck in a <center></center> around the place I want to center. I'm not seeing how to do that now.

My sidebar has only two widgets in it and I'd like the tags in the tag cloud to be centered and not left justified. Am I going to have to do this with a float declaration?

The other widget is "Links" and left justified is fine there.

WP 3.2.1
Atahualpa 3.7.1
Configurable Tag Cloud 5.2

http://portraitindonesia.com

juggledad Oct 25, 2011 04:57 AM

use FireBug in FirefFox to look at the widget and determine the CSS needed to center it. Then add that CSS to the CSS Inserts section of the theme options.

markzip Nov 10, 2011 11:15 PM

Thanks for the help.
I cannot believe I am being so stupid! I just cannot get this done.

I think I'm getting hung up on whether I should be doing "align: center" to the div id (which is div id="ctc-3") or rather the items in the class below it (div class="ctc").

Secondly: each of the items in that class is already being dynamically styled according to frequency of use. If I do manage to get the thing centered, will that override the individual styling of the tags?

http://portraitindonesia.com

Thanks

juggledad Nov 11, 2011 04:29 AM

You want to use the 'text-align' syntax (check w3schools.com/css for the exact syntax) and it should go in the 'CSS insert' theme option using the 'div.ctc {...}' format


All times are GMT -6. The time now is 01:11 PM.

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