Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] columns (http://forum.bytesforall.com/showthread.php?t=20415)

masmaz May 30, 2013 08:17 AM

[SOLVED] columns
 
hi all
Some settings I have to change. "COL7 ​​{width: 580px}" in the style.css file in / wp-content/uploads/montezuma.

Unfortunately, in the settings of the theme in this part of the admin css does not exist.
If I modify it directly from the file style.css after a while comes back to me with the original setting ...

How can I change it so prmanente??

thanks
max

Code:

.row, .row5, .lw { width: 960px; margin: 0 auto; }
.row > div, .row5 > div, .row > nav, .row5 > nav { float: left; position: relative; }


.col1 {width:80px}                .col2 {width:160px}                .col3 {width:240px}                .col4 {width:320px}
.col5 {width:400px}                .col6 {width:480px}                .col7 {width:580px}                .col8 {width:640px}
.col9 {width:720px}                .col10 {width:800px}                .col11 {width:880px}                .col12 {width:960px}


.push1 {left:80px}                .push2 {left:160px}                .push3 {left:240px}                .push4 {left:320px}
.push5 {left:400px}                .push6 {left:480px}                .push7 {left:560px}                .push8 {left:640px}
.push9 {left:720px}                .push10 {left:800px}                .push11 {left:880px}               
.pull1 {right:80px}                .pull2 {right:160px}                .pull3 {right:240px}                .pull4 {right:320px}
.pull5 {right:400px}                .pull6 {right:480px}                .pull7 {right:560px}                .pull8 {right:640px}
.pull9 {right:720px}                .pull10 {right:800px}        .pull11 {right:880px}


.row5 > div {width:192px}
.row5 .push1 {left:192px}        .row5 .push2 {left:384px}        .row5 .push3 {left:576px}        .row5 .push4 {left:768px}
.row5 .pull1 {right:192px}        .row5 .pull2 {right:384px}        .row5 .pull3 {right:576px}        .row5 .pull4 {right:768px}


CrouchingBruin May 30, 2013 10:18 AM

style.css always gets changed by the settings in the virtual CSS files (from the WP Dashboard, Appearance > Montezuma Options > CSS Files), so you can't edit style.css and expect those changes to remain intact. Read the section under Appearance > Montezuma Options > CSS Settings > Editing CSS, especially the part that explains how to specify an exact custom width. You would put your mod in one of the virtual CSS files, like layout.css or various.css.

masmaz May 30, 2013 10:25 AM

ok I understand

I copy and paste that part of the code is put in the file layout.css or various.css admin?

CrouchingBruin May 30, 2013 10:51 AM

Yes. All of the settings in the CSS Files section (under Montezuma Options) are used to create the style.css file, so you should make changes there. One major advantage is if you ever need to upgrade the theme to a newer version, your changes won't get lost because they are saved in a database table instead of a static theme file.

masmaz May 30, 2013 10:58 AM

perfect thanks for your help

max


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

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