1
Cavan
Blocks stretching...
  • 2005/1/17 1:53

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


My site doesn't display any system blocks on the right or left---so which files do I edit to stop the modules (contact, xoopsfaq, forums, etc) from stretching across the page (screen)?

If I edit the .css [line for] #maintable to lessen the width, EVERYTHING SHRINKS and I don't want that to happen---I just want the width of the displayed modules to be less than 100%.

And if I edit my theme.html in the same manner, nothing happens...Where do I go to fix this?

2
jdseymour
Re: Blocks stretching...

I believe the settings for block width would be within the templates. The templates makes the blocks. The themes only skin them.

3
Cavan
Re: Blocks stretching...
  • 2005/1/17 8:04

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


There is no setting for width in any system/templates/blocks .html file...To clarify the issue:

My site doesn't display any block or module on the right or left side of the screen. All the modules I use (system, faq, news, contact us, links, sections, forum, my-album-p, xoopopchat, buddyfriends and polls) are stretched across the screen as seen in the image below (the faq is shown):

Resized Image

The same thing happens with everything in the user menu. Notice how the main menu and the user menu are displayed (the user profile is shown):


Resized Image

I need to adjust the width of everything to match the width of the main menu at the top of the page...how do I do this?

4
Cavan
Re: Blocks stretching...
  • 2005/1/17 21:56

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I've looked through the templates folder in each module and no changes I make to any modules/XXXXX/templates/XXXX.html has any effect on the width problem, so where is the fix for this hiding in Xoops?...Can someone please tell me how to fix this?

5
Bassman
Re: Blocks stretching...
  • 2005/1/17 22:08

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


I'd say the reason you can't find anything to change is that the theme hasn't been designed for a site with no side columns. Your best bet would be to view the site using Mozilla/Firefox with the extension installed that allows you to view the CSS class and ID details, and try adjusting the appropriate values in your style sheet for the theme.

6
tjnemez
Re: Blocks stretching...
  • 2005/1/17 22:15

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


not sure what theme you are using, but you can define your content div. for example:

style.css

#content_div {
padding: 0px 0px 0px 0px; /* top, right, bottom, left */
}


theme.html

<{$xoops_contents}>

7
Cavan
Re: Blocks stretching...
  • 2005/1/17 22:29

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


This is what I thought I'd need to do but I haven't done so because I'm unsure as to here to put the content_div in the theme.html...Any ideas?

8
tjnemez
Re: Blocks stretching...
  • 2005/1/17 22:44

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


not without seeing the theme.html

9
Cavan
Re: Blocks stretching...
  • 2005/1/17 22:46

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


FYI, I use the "phpbbstyle" theme:

Oddly enough...
<div id="content"><{$xoops_contents}>div>


...is already on line 119, just under...


There was no content_div in the .css for this theme, so I added...
#content_div {
padding10px 90px 10px 90px/* top, right, bottom, left */
}


..and STILL nothing happens, no changes are made. ??? This is getting weird.

(and yes, the "Update module, template..." setting is set to YES in my admin)

10
Cavan
Re: Blocks stretching...
  • 2005/1/17 22:49

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


tjnemez:

Should I post it here or send it to you via PM?

Login

Who's Online

543 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 543


more...

Donat-O-Meter

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

Latest GitHub Commits