1
rbcnet
Block wont show up right!
  • 2007/6/2 18:24

  • rbcnet

  • Just popping in

  • Posts: 5

  • Since: 2007/6/2 1


Hi,

I am a total idiot when it comes to scripting so please keep it simple ;)

I've downloaded at theme via Bcool.net and installed it.
But when i'm using it, i have a problem with the place the main menu is showing up.

It's showing up on the left side of the center ([][x][][][] this is how it should look in block admin but thats wrong) I've set it like [x][][][][] which how it should be but it won't go al the way to the left.

You can see it at http://www.rbcnet.nl/website/

I'm sorry for my bad english, im from holland.

2
McDonald
Re: Block wont show up right!
  • 2007/6/2 19:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


It might be a problem/mistake in the css file causing it to displayed in the wrong place when viewing your website in IE.
The block is placed correctly with FireFox.

The correct url for the site you downloaded your theme is http://2bcool.net isn't?

3
rbcnet
Re: Block wont show up right!
  • 2007/6/3 10:55

  • rbcnet

  • Just popping in

  • Posts: 5

  • Since: 2007/6/2 1


Quote:

McDonald wrote:
It might be a problem/mistake in the css file causing it to displayed in the wrong place when viewing your website in IE.
The block is placed correctly with FireFox.

The correct url for the site you downloaded your theme is http://2bcool.net isn't?


Yes it's 2bcool.net (demo.2bcool.net)Themename: Astro 2

Hmm, strange because in my Firefox it also wont show up right.

In IE the block is strechted all over the white page, whil in Firefox it sstays compact but still wrong located

4
McDonald
Re: Block wont show up right!
  • 2007/6/3 11:16

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


This is what I see in FireFox:

Resized Image

5
rbcnet
Re: Block wont show up right!
  • 2007/6/3 11:34

  • rbcnet

  • Just popping in

  • Posts: 5

  • Since: 2007/6/2 1


Quote:

McDonald wrote:
This is what I see in FireFox:

[IMAGE]


So do i, but is should be like this:

Resized Image
Photoshopped how it should be...

So i don't know why it wont set itself in the right "
"

6
Quest
Re: Block wont show up right!
  • 2007/6/3 12:51

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I just took a look using IE7 and your Main Menu block is inside your CenterColumn just where you have it coded to be.

Quote:
<{* content area start *}>









<{include file="$xoops_rootpath/themes/$xoops_theme/blockcenter.html"}>
















<{foreach key=key item=block from=$xoops_lblocks}>

<{$block.title}>

<{$block.content}>


<{/foreach}>


<{if $xoops_showrblock == 1}>

<{foreach item=block from=$xoops_rblocks}>

<{$block.title}>

<{$block.content}>


<{/foreach}>

<{/if}>









<{* content area end *}>


I am not familiar with this theme nor the manner in which it is coded. My suggestion is that you move the LeftColumn Div up above the CenterColumn Div.

Hope this helps,
Quest

7
rbcnet
Re: Block wont show up right!
  • 2007/6/4 11:15

  • rbcnet

  • Just popping in

  • Posts: 5

  • Since: 2007/6/2 1


To bad, changing the position of the blocks in theme.html wont help also...

To bad i cant contact the creator of this theme on 2bcool.net his contact form is in chinese so i don't understand anything of it.

8
rbcnet
Re: Block wont show up right!
  • 2007/6/5 14:44

  • rbcnet

  • Just popping in

  • Posts: 5

  • Since: 2007/6/2 1


Still not solved.

If anyone has a e-mail adres of the creator of the theme (2bcool.net) so i can e-mail him. Perhaps he's able to help me.

9
Quest
Re: Block wont show up right!
  • 2007/6/5 22:41

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


In your theme it is calling for a

for the left column blocks and

for the right blocks.

In your style.css there is no class for either one of these. So I think it is actually positioning the left and right blocks according to the Body div class of .usual in your style.css.

Try adding something like this to your style.css file:

.block_left {
float:left;/* <- If you want change column position, rewrite this. */
width:210px;
overflow:hidden;
color:#AAA;
background:#0A0A0A;
}

see if that gives you any change worth while and adjust width etc if necessary. If it works and you need to do the same for .block_right in your style.css.

Hey-make sure you have the original style.css somewhere for backup.

Hope this helps.

Quest

10
skenow
Re: Block wont show up right!
  • 2007/6/6 1:10

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


I would start with validating the html - http://validator.w3c.org. There are a few things that might clean it up and make it work.

There is a missing quote in the image tag in your header.

A few br tags are not closed properly.

And, there may be some missing end tags for some divs. Once the quote problem is fixed, validate again, then attack the other errors.

One thing to note about some of BCool's themes - they don't always follow the normal block positions. Left and Right columns get stacked on one side for many of them.

Login

Who's Online

390 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 390


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