1
antifmradio
Changing the height / width of blocks?

I know this has to be a THEME related issue ( i hope )
but i cant get the BLOCKS in my current theme to change their width.


I checked in the CSS file and the THEME file but each time i make an alteration, i refresh the page and see no changes.



What is the proper way of editing these parts of the layout?

2
wizanda
Re: Changing the height / width of blocks?
  • 2007/12/20 20:34

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Have update templates on in the main preferences, else you don't see changes in the theme.html....

3
antifmradio
Re: Changing the height / width of blocks?

i just checked

i have that enabled already

4
wizanda
Re: Changing the height / width of blocks?
  • 2007/12/21 9:52

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Do the changes on a home server, if you are not already doing so, as they will happen much quicker then uploading it....
My blocks to change width also did my head in, so here is what’s in mine...
<td width="160" style="width: 160px;">

The problem comes if the modules have widths for the blocks, thus making the block size also adjusted….
Adding a style as well helps encase of over sizing, as it will adjust some back to the size….
Yet some times on some modules blocks, I’ve had to manually change the width of the block to keep all inline....

5
antifmradio
Re: Changing the height / width of blocks?

i did some poking around
seems like my blocks ( currently ) are related to the THEME settings so i had to go in there.

Again i see the same code i have been changing on my computer to no avail

theme i am using is
FIAPPLEBLUE
in that folder there are the files

theme.html
style.css
and a couple image files

now in this i can only see ONE item relatd to my LEFT blocks (im using LEFT just as an example)


This is the code




<{foreach 
item=block from=$xoops_lblocks}>
<
table cellspacing="0" cellpadding="2" width="100px">
<
tr>
<
td><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/tt12_l.gif" />td>
<
td class="tt12_m" width="100px">td>
<
td><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/tt12_r.gif" />td>tr>
<
tr><td colspan="3" class="blockTitle2" width="100px">&nbsp;<{$block.title}>td>tr>
<
tr><td colspan="3" class="blockContent" width="100%"><{$block.content}>td>tr>
<
tr><td><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/tb12_l.gif" />td>
<
td class="tb12_m">td>
<
td><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/tb12_r.gif" />td>tr>
table>

<
br />
<{/foreach}>



you can see where i edited the items to call out a width of 100px
but im still getting much larger settings showing here and its all distorted


http://www.grooveclip.com/groove

6
wizanda
Re: Changing the height / width of blocks?
  • 2007/12/21 14:41

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


CSS has .px and Html i think is just the number...

Plus check in the style.css if there is a measurement set for the class="tb12_m" as it's not filling the full space.....

Set the class of the bars top and bottom at 100%, then you know that is filling the full space you allow it, in the table around it.

Login

Who's Online

347 user(s) are online (296 user(s) are browsing Support Forums)


Members: 0


Guests: 347


more...

Donat-O-Meter

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

Latest GitHub Commits