Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
How can I make AUTOTHEME be 100% Width?
-
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Code
<div style="width:100%"></div>
You're not giving us much to go on here...
-Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 206
This is the aardvark theme Lobos.
Here can you see how it looks after installing it:
www.frederiksberg-taekwondo.dk/test/
I have been looking at the files and style.css seems to be the one controlling the size and possition of the boxes, tried to edited but
too difficult to do it.
/*layout control*/
/*overall page margin/width can be fixed eg 50px/auto(margin) , auto/500px(centered)*/
#page_container {margin:auto;width:770px;}/*end overall page control*/
#header_container{background:url(../images/head_center.jpg);text-align:center;height:84px;width:762px;position:relative;margin-top:40px;margin-bottom:5px;margin-left:4px;}
#header_left {position:absolute;left:0px;width:17px;height:85px;background:url(../images/head_left.jpg);}
#header_right {position:absolute;right:0px;width:17px;height:85px;background:url(../images/head_right.jpg);}
#leftcol_container{height:100%;width:23%;background:transparent;vertical-align:top;padding-left:5px;}
#block_left_top{background:url(../images/block_left_top.jpg) bottom no-repeat;width:178px;height:30px;}
#centercol_container{height:100%;width:75%;background:transparent;}
#block_center_top{background:url(../images/block_center_top.jpg);width:588px;height:21px;margin-top:12px;}
#block_center_mid{background:url(../images/block_center_mid.jpg);width:588px;}
#block_center_mid_1{text-align:justify;padding:0px 20px 0px 15px;}
#block_center_mid_2{border-bottom:2px solid #305A89;}
#center_left{float:left;width:380px;}
#block_left_bot{background:url(../images/block_left_bot.jpg);width:178px;height:18px;}
#center_right{float:right;width:160px;}
#block_center_bot{background:url(../images/block_center_bot.jpg);width:588px;height:22px;}
#footer_container{margin:auto;width:770px;text-align:center;}
#footer1_container{background:url(../images/footer_center.jpg);height:24px;width:762px;position:relative;margin-left:4px;margin-top:20px;}
#footer1_left{position:absolute;left:0px;width:11px;height:24px;background:url(../images/footer_left.jpg);}
#footer1_right{position:absolute;right:0px;width:11px;height:24px;background:url(../images/footer_right.jpg);}
/*CSS tables*/
.table {display:table;}
.table_row {display:table-row;}
.table_cell {display:table-cell;}
.table_end {clear:both;} /*to clear IE floats*/
.lbcontent {background:url(../images/block_left_mid.jpg);width:178px;}
*HTML .lbcontent {margin-top:-4px;}/*IE is a piece of shit*/
When I downloaded this theme it was with the thought of getting something like in the demo site http://postnuke.co.nz/pn/index.php but I dont seem to know how to get it to look like that. Could you give me the theme you used in that demo? -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
Quote
#page_container {margin:auto;width:770px;}/*end overall page control*/
--
Home Page | Find on Facebook | Follow on Twitter
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 206
I know that is the line, but still, if you increase the value to 800 you still get some funny corners and if you put it in auto the result is the same as with 800px.
There are other boxes as well which show funny, like some input boxes are bigger than the block or table around it, looks very ugly.
What version of PostNuke was the theme done for? -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
www.frederiksberg-taekwondo.dk/test/
This is NOT the aardvark theme, this is the advanced theme and you haven't a hope in hell of getting this 100% width... well nothing is impossible, but this would be difficult, in fact you would be better off starting from scratch than trying to make the existing theme 100% width...
-Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
