Forum Support

Shape 5
April 18, 2024, 10:03:11 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Classic DIV push by component or...?  (Read 413 times)
akerman
Jr. Member
**
Offline Offline

Posts: 225



WWW
« on: November 17, 2008, 01:46:35 AM »

Hi,

I've installed the 'JoomGallery' in SoG and 99% of the pages (gallery level/category level/detailed view) looks great and everything is within parameters, so to speak. But on some pages everything after 'div.s5_wrap' is adjusted left.

It is like all modules after 'div.s5_wrap' loose some of their settings.

I've tried to solve it by injecting 'clear:both; in different places (both inside wrap as well as in the template or in the component (joomgallery). No luck I'm afraid. I've also tried to not publish User 3,4..., still same result.

Really need some hints on what could cause this. And possibly cure...

Bad page
http://rd.akermanscove.com/index.php?option=com_joomgallery&func=viewcategory&catid=7&Itemid=77&lang=en

Good page (same component, same elements on page)
http://rd.akermanscove.com/index.php?option=com_joomgallery&func=viewcategory&catid=3&Itemid=77&lang=en

Regards
Akerman
Logged

http://stolt-akerman.com - Webdesign & Designer Agency
http://www.akermanscove.com - Designer Portfolio
http://www.infoclip.se - Bookshop for used and antique books.
Work with:
Web Design JoomFish Contributor,  Translations of Open Source, Design, Logotypes, Photography, Illustrations, eCommerce, SEO & Print
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: November 19, 2008, 12:20:49 AM »

Both URLs above appear to be the same?  Going to both of these URLs forwards me to:

http://akerman.dlinkddns.com/rd.akermanscove.com/index.php?option=com_jcs&view=jcs&layout=form&Itemid=77
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
akerman
Jr. Member
**
Offline Offline

Posts: 225



WWW
« Reply #2 on: November 19, 2008, 03:44:58 AM »

Hi,

my bad, the subscription system was switched on, thereby you are redirected to the subscription page when it senses that you don't have access.

You have now been upgraded to the full 'PRO' license = All products. Just login with the usual credentials. (on frontend)
Sorry for the inconvenience.

Regards
Akerman
« Last Edit: November 19, 2008, 03:51:00 AM by akerman » Logged

http://stolt-akerman.com - Webdesign & Designer Agency
http://www.akermanscove.com - Designer Portfolio
http://www.infoclip.se - Bookshop for used and antique books.
Work with:
Web Design JoomFish Contributor,  Translations of Open Source, Design, Logotypes, Photography, Illustrations, eCommerce, SEO & Print
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: November 19, 2008, 12:36:38 PM »

There is an extra DIV being output by the component which is throwing the layout off. 

You could try putting:

<div class="s5_wrap" style="margin: 0pt auto;">

Right above:

<div style="clear: both; padding-bottom: 12px;"/>

This might fix things although XHMTL validation will most likely be off now.  Or you can contact the component developer and have them fix the problem.

Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
akerman
Jr. Member
**
Offline Offline

Posts: 225



WWW
« Reply #4 on: November 19, 2008, 03:04:40 PM »

Good call! Thank you.

I of course does not expect you to specify exactly where this DIV lives, but do you mean and open <DIV> or a complete
<DIV> </DIV>?

I suspect you mean an open, since normally a closed one does not throw the template off like this.

Just want to be extra extra clear on this, before I start gutting JoomGallery (the German Forum isn't that quick... so I probably have to do this by myself... Good training I suppose... Wink)

Regards
Akerman
Logged

http://stolt-akerman.com - Webdesign & Designer Agency
http://www.akermanscove.com - Designer Portfolio
http://www.infoclip.se - Bookshop for used and antique books.
Work with:
Web Design JoomFish Contributor,  Translations of Open Source, Design, Logotypes, Photography, Illustrations, eCommerce, SEO & Print
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: November 19, 2008, 04:04:57 PM »

Actually there appears to be an extra closing one in there.  I'm pretty def its the component as you can see it works on one page and then another it doesn't and both are the same component.

So the DIV from the template:

<div class="s5_wrap" style="margin: 0pt auto;">

Wraps everything if you look at the code in firebug on the good page you'll see this and then on the bad page you'll notice this s5_wrap DIV gets closed too earlier before it wraps the bottom modules which then throws them off center as they are missing the "margin: 0pt auto;" style.

Hope that makes sense Smiley

Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
akerman
Jr. Member
**
Offline Offline

Posts: 225



WWW
« Reply #6 on: November 20, 2008, 03:55:11 PM »

Yes it makes sense. As a matter of fact I inspected the DIV right after your first answer and came to the same conclusion.
Just wanted to make really sure that what I saw was what you were referring to, so I didn't start working on the wrong thing.

It was quite easy to follow the template DIV, it's a bit harder to find the exact right spot for the component. As it turns out it seems that the component has several unclosed DIV's in several PHP files. At least so it seems. (Need to unwind these PHP's a bit more).

I've done some extensive editing to this component in order to get it into the shape I want, but always been careful and just taking one step (DIV) at the time.  Smiley Hopefully I'll find the right spot soon...

Thanx
Akerman
Logged

http://stolt-akerman.com - Webdesign & Designer Agency
http://www.akermanscove.com - Designer Portfolio
http://www.infoclip.se - Bookshop for used and antique books.
Work with:
Web Design JoomFish Contributor,  Translations of Open Source, Design, Logotypes, Photography, Illustrations, eCommerce, SEO & Print
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.