1
fords8
Need alittle help with a theme!
  • 2007/3/23 4:13

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


Hello all!

I am using the theme below. I would like the center (the white part), togo all the way over to the right of the page when viewing. I am not sure how to get rid of the blue-ish column on the right.

Resized Image

So I guess you could say I only want two columns instead of three. Not sure what to edit in the .CSS file.

Thanks!

2
FeraTechInc
Re: Need alittle help with a theme!

Uhh... I'm not sure what you mean. That blue in the background isn't actually considered a column. It's just the background.

Are you trying to get your site to stretch all the way to the right? If so you need to change your header.html and footer.html

You have to look the table code. You can look at the header.html file from any original xoop theme that has the look you want and copy over the table formatting to your new theme.

I'm not sure if XOOPS lets you edit the header.html file so a mod would probably give you a better idea.

3
fords8
Re: Need alittle help with a theme!
  • 2007/3/23 5:12

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


Yeah, I want the white togo over all the way to the right of the page. No blue at all.

EDIT: That should move the blocks over too! Right?

4
stefan88
Re: Need alittle help with a theme!
  • 2007/3/23 9:09

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

Not shure without the actual CSS file - it could be in several places.
To start somewhere - check if there is body{...} in the css and if there is "width: ???px;". If there is, change it to "width: 100%;"

..

5
fords8
Re: Need alittle help with a theme!
  • 2007/3/23 13:57

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


Here is the style.css from the above theme.

body
{
    
colorblack;
    
font-familyVerdana,Arial,Sans-serif;
    
background-color#275078;
    
margin0px;
}
table
{
    
width100%;
    
font-size11px;
}
table#okvir
{
    
background-color#FFFFFF;
    
width790px;
}
table td
{
    
padding0;
    
border-width0;
    
vertical-aligntop;
    
font-familyVerdanaArialHelveticasans-serif;
}
a
{
    
color#002B55;
    
text-decorationnone;
    
font-weightbold;
    
background-colortransparent;
}
a:hover
{
    
color#ff6600;
    
text-decorationunderline;
}
ul
{
    
margin2px;
    
padding2px;
    list-
styledecimal inside;
    
text-alignleft;
}
li
{
    
margin-left2px;
    list-
stylesquare inside;
    
color#2F5376;
}
.
item
{
    
color#0D0D0D;
    
border1px solid #C4CAD0;
    
margin3px;
}
.
item_col
{
    
color#384149;
    
border1px solid #C4CAD0;
    
background-color#FFFFFF;
    
margin3px;
}
.
itemHead
{
    
color#242424;
    
border-bottom1px solid #666666;
    
padding-top4px;
    
padding-bottom2px;
    
padding-left10px;
    
background-color#E6E6E6;
    
background-repeatrepeat;
    
background-imageurl('images/head_bg.gif');
}
.
itemInfo
{
    
text-alignright;
    
padding3px;
    
background-color#FFFFFF;
}
.
itemTitle a
{
    
font-size13px;
    
font-weightbold;
    
font-variantsmall-caps;
    
color#004080;
    
background-colortransparent;
}
.
itemPoster
{
    
font-size80%;
    
font-styleitalic;
}
.
itemPostDate
{
    
font-size80%;
    
font-styleitalic;
}
.
itemStats
{
    
font-size80%;
    
font-styleitalic;
}
.
itemBody
{
    
padding-left5px;
}
.
itemText
{
    
margin-top5px;
    
margin-bottom5px;
    
line-height1.5em;
}
.
itemText:first-letter
{
    
font-size133%;
    
font-weightbold;
}
.
itemFoot
{
    
text-alignleft;
    
padding7px;
    
background-color#FFFFFF;
    
font-size11px;
    
background-imageurl('images/item_foot.gif');
}
.
itemAdminLink
{
    
font-size90%;
}
.
itemPermaLink
{
    
font-size90%;
}
th
{
    
background-color#BBBBBB;
    
color#004080;
    
padding2px;
    
vertical-alignmiddle;
    
font-familyVerdanaArialHelveticasans-serif;
}
td#headerbanner
{
    
width100%;
    
background-color#FFFFFF;
    
vertical-alignmiddle;
}
td#headerbar
{
    
height29px;
    
background-color#939393;
    
color#FFFFFF;
    
line-height27px;
    
padding-left6px;
    
padding-right7px;
    
border-top1px solid #000000;
    
border-bottom1px solid #000000;
}
td#headerbar a
{
    
color#FFFFFF;
}
td#headerbar a:hover
{
    
color#FF8040;
}
td#leftcolumn
{
    
width170px;
    
font-size11px;
    
border-right1px solid #5799B5;
    
background-color#D0E2EA;
}
td#leftcolumn th
{
    
vertical-alignbottom;
    
border-bottom1px dashed #8699B5;
    
background-colortransparent;
    
color#464646;
}
td#leftcolumn div.blockTitle
{
    
padding3px;
    
color#FFFFFF;
    
font-weightbold;
    
font-size10px;
    
background-color#004080;
    
padding-left18px;
    
background-imageurl('images/puce.gif');
    
background-repeatno-repeat;
    
background-positionleft;
}
td#leftcolumn div.blockContent
{
    
padding2px;
    
line-height120%;
    
line-height120%;
}
td#centercolumn
{
    
font-size12px;
    
color#464646;
    
padding-left4px;
    
padding-right4px;
    
width100%;
}
td#centercolumn th
{
    
color#004080;
    
background-color#FFFFFF;
}
td#centerCcolumn div.blockTitle
{
    
padding2px;
    
color#313131;
    
font-weightbold;
    
margin-top0px;
    
margin-right0px;
    
margin-left0px;
    
font-size10px;
    
margin-bottom5px;
    
padding-left13px;
    
background-imageurl('images/item_foot.gif');
    
background-positionbottom;
    
border-bottom1px solid #C4CAD0;
    
text-transformuppercase;
}
td#centerCcolumn div.blockContent
{
    
margin-right0px;
    
margin-left0px;
    
margin-bottom8px;
    
line-height120%;
}
td#centerLcolumn
{
    
width50%;
    
padding0px 0px 0px 0px;
}
td#centerLcolumn div.blockTitle
{
    
padding2px;
    
color#313131;
    
font-weightbold;
    
margin-top0px;
    
margin-right0px;
    
margin-left0px;
    
font-size10px;
    
margin-bottom5px;
    
padding-left13px;
    
background-imageurl('images/item_foot.gif');
    
background-positionbottom;
    
border-bottom1px solid #C4CAD0;
    
text-transformuppercase;
}
td#centerLcolumn div.blockContent
{
    
margin-right0px;
    
margin-left0px;
    
line-height120%;
    
padding2px;
}
td#centerRcolumn
{
    
width50%;
    
padding0px 0px 0px 0px;
}
td#centerRcolumn div.blockTitle
{
    
padding2px;
    
color#313131;
    
font-weightbold;
    
margin-top0px;
    
margin-right0px;
    
margin-left0px;
    
font-size10px;
    
margin-bottom5px;
    
padding-left18px;
    
background-imageurl('images/item_foot.gif');
    
background-positionbottom;
    
border-bottom1px solid #C4CAD0;
    
text-transformuppercase;
}
td#centerRcolumn div.blockContent
{
    
margin-right0px;
    
margin-left0px;
    
margin-bottom2px;
    
line-height120%;
    
padding2px;
}
td#rightcolumn
{
    
width160px;
    
font-size11px;
    
border-left1px solid #C4CAD0;
    
background-color#F8F8F8;
}
td#rightcolumn th
{
    
vertical-alignbottom;
    
border-bottom1px dashed #8699B5;
    
background-colortransparent;
    
color#464646;
}
td#rightcolumn div.blockTitle
{
    
padding3px;
    
color#5F5F5F;
    
font-weightbold;
    
margin-top0px;
    
margin-right0px;
    
margin-left0px;
    
font-size10px;
    
background-color#CDCDCD;
    
margin-bottom2px;
    
padding-left20px;
    
background-imageurl('images/puce_right.gif');
    
background-repeatno-repeat;
    
background-positionleft;
}
td#rightcolumn div.blockContent
{
    
padding3px;
    
line-height120%;
}
td#mainmenu a
{
    
color#004080;
    
font-size11px;
    
displayblock;
    
background-imageurl('images/menu.gif');
    
background-repeatno-repeat;
    
background-positionleft;
    
padding-left15px;
    
font-weightbold;
}
td#mainmenu a:hover
{
    
color#FF0000;
    
background-imageurl('images/menu-hover.gif');
    
background-repeatno-repeat;
    
background-positionleft;
}
td#mainmenu a.menuTop
{
    
padding-left15px;
}
td#mainmenu a.menuMain
{
    
padding-left15px;
}
td#mainmenu a.menuSub
{
    
padding-left23px;
    
color#9F0000;
    
font-weightnormal;
}
td#usermenu a
{
    
color#44819B;
    
font-weightnormal;
    
font-size10px;
    
padding-left20px;
    
padding-top1px;
    
padding-bottom1px;
    
background-imageurl('images/menu_user.gif');
    
background-repeatno-repeat;
    
background-positionleft;
}
td#usermenu a:hover
{
    
color#FF0000;
    
background-imageurl('images/menu_user_hover.gif');
    
background-repeatno-repeat;
    
background-positionleft;
}
td#usermenu a.highlight
{
    
background-color#fcc;
}
.
head
{
    
font-weightbold;
    
background-repeatrepeat-x;
    
background-positionleft;
    
color#373737;
    
height24px;
    
line-height22px;
    
text-aligncenter;
    
background-color#DFE2E6;
}
.
even
{
    
background-color#F3F4F5;
    
padding5px;
}
.
odd
{
    
background-color#FAFAFA;
    
padding5px;
}
.
foot
{
    
padding5px;
    
font-weightbold;
}
tr.even td
{
    
background-colortransparent;
    
padding5px;
}
tr.odd td
{
    
background-colortransparent;
    
padding5px;
}
div.errorMsg
{
    
background-color#FFCCCC;
    
text-aligncenter;
    
border-top1px solid #DDDDFF;
    
border-left1px solid #DDDDFF;
    
border-right1px solid #AAAAAA;
    
border-bottom1px solid #AAAAAA;
    
font-weightbold;
    
padding10px;
}
div.confirmMsg
{
    
background-color#DDFFDF;
    
color#136C99;
    
text-aligncenter;
    
border-top1px solid #DDDDFF;
    
border-left1px solid #DDDDFF;
    
border-right1px solid #AAAAAA;
    
border-bottom1px solid #AAAAAA;
    
font-weightbold;
    
padding10px;
}
div.resultMsg
{
    
background-color#CCCCCC;
    
color#333333;
    
text-aligncenter;
    
border-top1px solid silver;
    
border-left1px solid silver;
    
font-weightbold;
    
border-right1px solid #666666;
    
border-bottom1px solid #666666;
    
padding10px;
}
div.xoopsCode
{
    
background#FFFFFF;
    
border1px inset #000080;
    
font-family"Courier New",Courier,monospace;
    
padding0px 6px 6px 6px;
}
div.xoopsQuote
{
    
background#FFFFFF;
    
border1px inset #000080;
    
font-family"Courier New",Courier,monospace;
    
padding0px 6px 6px 6px;
}
.
comTitle
{
    
font-weightbold;
    
margin-bottom2px;
}
.
comText
{
    
padding2px;
}
.
comUserStat
{
    
font-size10px;
    
color#2F5376;
    
font-weightbold;
    
border1px solid silver;
    
background-color#ffffff;
    
margin2px;
    
padding2px;
}
.
comUserStatCaption
{
    
font-weightnormal;
}
.
comUserStatus
{
    
margin-left2px;
    
margin-top10px;
    
color#2F5376;
    
font-weightbold;
    
font-size10px;
}
.
comUserRank
{
    
margin2px;
}
.
comUserRankText
{
    
font-size10px;
    
font-weightbold;
}
.
comUserRankImg
{
    
border0;
}
.
comUserImg
{
    
margin2px;
}
.
comDate
{
    
font-weightnormal;
    
font-styleitalic;
    
font-sizesmaller;
}
.
comDateCaption
{
    
font-weightbold;
    
font-stylenormal;
}
input
{
    
font11px verdanaarialhelveticasans-serif;
}
textarea
{
    
border1px solid #8699B5;
    
width400px;
    
font11px verdanaarialhelveticasans-serif;
    
background-color#F5F5F5;
}
input.formTextBox
{
    
border1px solid #8699B5;
    
background#F5F5F5;
    
font11px verdanaarialhelveticasans-serif;
}
select
{
    
border1px solid #8699B5;
    
font11px verdanaarialhelveticasans-serif;
    
background-color#F5F5F5;
}
.
pozdrav
{
    
background-color#004080;
    
padding5px;
    
font-size11px;
    
color#DDEBF0;
    
border-top1px solid #ffffff;
}
.
pozdrav a
{
    
color#DDEBF0;
}
.
vrijeme
{
    
background-color#004080;
    
padding-top5px;
    
font-size10px;
    
color#DDEBF0;
    
border-top1px solid #ffffff;
}
.
headerprvi
{
    
background-color#004080;
    
color#DDEBF0;
    
font-weightbold;
    
vertical-alignmiddle;
    
border-top1px solid #ffffff;
}
form
{
    
font-size11px;
    
color#787878;
}
.
loginlink
{
    
background-imageurl('images/btn_bullet.gif');
    
background-repeatno-repeat;
    
background-positionleft;
    
padding-left10px;
}
.
button
{
    
font-size10px;
    
color#000000;
    
margin-bottom1px;
}
.
sadrzaj
{
    
margin-bottom20px;
}
.
blok
{
    
margin-bottom6px;
}
.
forum
{
    
background-color#E2E2E2;
    
font-size11px;
    
font-weightbold;
    
color#004080;
    
padding6px;
    
background-imageurl('menu4_bar.gif');
}
.
forumprvi
{
    
background-color#F7F9FB;
    
padding3px;
    
color#004080;
}
.
forumdrugi
{
    
background-color#EFF3F8;
    
padding3px;
    
color#004080;
}
.
navigacijaforum
{
    
background-color#DDDDDD;
    
padding5px;
    
color#004080;
    
border-top1px dashed #333333;
    
border-bottom1px dashed #333333;
    
font-size12px;
    
text-aligncenter;
    
font-weightbold;
}
.
border
{
    
border-left1px solid #cccccc;
    
border-bottom1px solid #cccccc;
    
padding3px;
}
.
borderdesno
{
    
border-bottom1px solid #cccccc;
    
border-right1px solid #cccccc;
    
padding3px;
}
.
forum a
{
    
color#004080;
}
.
download
{
    
padding10px;
}
.
downhead
{
    
background-imageurl('images/menu2_bar.gif');
    
color#FFFFFF;
    
padding5px;
}
.
downloadsvaki
{
    
width97%;
    
border-top1px solid #333333;
    
border-bottom1px solid #333333;
    
padding5px;
}
.
tiny
{
    
width90%;
}
.
privatnost
{
    
color#DDEBF0;
    
font-size10px;
    
text-aligncenter;
}
.
privatnost a
{
    
color#DDEBF0;
}
td#headmenu a
{
    
background-color#004080;
    
color#FFFFFF;
    
font-size10px;
    
displayblock;
    
padding5px;
}
td#headmenu a:hover
{
    
background-color#BBDDFF;
    
color#494949;
}
td#headmenu a.menuHead
{
    
font-size10px;
}
.
dole
{
    
width790px;
    
margin-top5px;
}
.
blok
{
    
margin-bottom6px;
}
.
line
{
    
background-imageurl('images/back_line.jpg');
    
background-repeatrepeat-x;
    
background-positionleft;
    
border-bottom1px solid #000000;
    
border-top1px solid #ffffff;
}

6
Anonymous
Re: Need alittle help with a theme!
  • 2007/3/23 14:23

  • Anonymous

  • Posts: 0

  • Since:


Could the width restriction could be in theme.html?

7
stefan88
Re: Need alittle help with a theme!
  • 2007/3/23 14:29

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


try replacing:

table#okvir
{
    
background-color#FFFFFF;
    
width790px;
}


with:

table#okvir
{
    
background-color#FFFFFF;
    
width: [b][color=FF0000]100%[/color][/b];
}
..

8
fords8
Re: Need alittle help with a theme!
  • 2007/3/24 2:29

  • fords8

  • Just popping in

  • Posts: 11

  • Since: 2007/3/16


stefan88, thank you! That worked great!

Login

Who's Online

185 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits