Theme Joomla Extensions

Kupo slides and position absolute

Hey there. I thought it will be nice thing to do something with position absolute which is not cleared properly in the template of your module. I mean ... I myself don't understand how exactly these positioning works yet ... but when I insert the module on my page at the bottom of my page (which automatically stretch with the inserted content, positioning used in the module seems to not stretch it, but just covers my footer and I have to use min_height attribute in CSS to keep it visible.

It doesn't look so bad right now but when I change the content of my page for something more the situation will be the same because module will not stretch the content. I know you have to use clear:both attribute somewhere there to fix it, but I cannot tell where exactly. So if this is possible please consider this small error in the next update

Lumo replied clear is built in...

Hello! Clearing is built in, there must be a conflict with code in your template somehow ;) Only way for us to have a look would be if you dropped us a mail with your site address - remove the min-height and I will try see what is messing with the space - sounds to me like it is the absolute positioning height issue symptom ;)

wariat777 replied ...

all right ... here is the page. For EVERY other module it seems to be working just fine, only this has this issue.

http://webdesignplymouthuk.co.uk/

Lumo replied ...

Your template code has this:

<div class="clr"></div> 
 


...and for some reason the class above has no styles associated with it ;) ? So I changed it to:

<div class="clr" style="clear: both;"></div>



And that fixed it. so you can do that or add

.clr, #clr {clear:both} 



to the end of your CSS file and that should sort it ;)

wariat777 replied ...

Right, That helped.but i didn't have any clearing div in my .php file, so it is possible that module generates clr div but without styles... And as i didn't have class defined in CSS it didn't worked 4 me ....

If it's true it will be better if you define some styles just in case someone didn't have them in his sheet like me ;)

Lumo replied we do ;)

we do already, if you check our code we have a clear after the slideshow - as it is common for image based modules to often have this kind of issue - seams like some kind of override is going on - on your site, weird... either way, glad you got it sorted!

wariat777 replied ...

Thanks very much mate. You saved me a lot of trouble. Cheers.

You must be logged in to post a comment. Please register if you do not have an account yet.

busy

INSIDE: Forum / Extensions

members

search