Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Page styling (http://forum.bytesforall.com/showthread.php?t=2241)

malrock Jul 2, 2009 09:25 AM

[SOLVED] Page styling
 
Hi

Cheers for a great and very useable theme!

I'm using wordpress to display static page with post bringing up news as well as intergrating gallery 2.

www.wanakartsociety.co.nz

At present I am also using fckeditor within WP2.8

I can't seem to find out how the style sheets are overriding how my tables are displayed.

I would like to have my tables centered and also to be able to have different colors in each cell. It works during the editoing and previewing stages within wordpress however on publishing the page it is all aligned to the left.

Can't seem to see anything in the options and within the stylesheets on how or what I can change to make this work.

Suggestions?

Cheers

Mal

Flynn Jul 3, 2009 08:46 PM

Your

table {
margin-left: auto;
margin-right:auto;
}

is being overwritten by the more specific

.post table {
margin: 10px 0;
}

Add a CSS Insert:

div.post table.center {
margin-left: auto;
margin-right:auto;
}

malrock Jul 4, 2009 12:12 AM

Yup - cheers

In the tables section of the themes option i replaced

margin: 10px 0;

with

margin-left: auto;
margin-right:auto;

The theme options section was always overriding what changes I had made to the stylesheets ...

this aspect is working fine now


All times are GMT -6. The time now is 03:10 AM.

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