RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : September 07, 2008, 07:20:55 AM
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  [solved] RSGallery2 breaks design
Advanced search
  « previous next »
Pages 1 2
Author
Sticky Topic Topic: [solved] RSGallery2 breaks design  (Read 21406 times)
« on: April 27, 2007, 10:17:18 AM »
matu Offline
Newbie
*
Posts: 8

View Profile Email

http://rauge.ee/paadiralli2/index.php?option=com_rsgallery2&Itemid=11&page=inline&id=1&catid=1&limitstart=0
Why is this happening? I can not find the problem.
« Last Edit: May 10, 2007, 08:35:03 AM by Daniel Tulp » Logged
 
Reply #1
« on: April 28, 2007, 04:39:26 AM »
Brat Offline
Newbie
*
Posts: 3

View Profile Email


I had the same issue. I did some searching, and, for my template, I found that the problem was the following CSS code:
Code:
ul#rsg2-galleryList{
    clear: both;
    padding: 0;
}

I changed the above to the following:

Code:
ul#rsg2-galleryList{
    float: left;
    padding: 0;
}

And that appeared to take care of it. I have a lot more CSS work to do in my case, and again I can't swear that this will fix your situation, but at least it's a starting point. Hope this helps!

Regards,
Brat.
Logged
 
Reply #2
« on: April 28, 2007, 08:09:05 AM »
matu Offline
Newbie
*
Posts: 8

View Profile Email

That did not help in my case.  Sad
I searched the css, but I can not find the place that messes it up.
Logged
 
Reply #3
« on: April 29, 2007, 02:13:07 AM »
Brat Offline
Newbie
*
Posts: 3

View Profile Email

That did not help in my case.  Sad
I searched the css, but I can not find the place that messes it up.

Sorry to hear that - this can be a frustrating process. Do a "view source" for the page that shows your gallery. That will show you exactly how your code is laid out. That's what I did, and it helped me debug my site.

After my previous post, I did some more testing. Ironically, IE rendered my pages the way I wanted. FireFox was my "problem child". The major issue is that my template is "pure" CSS - divs are funny things that can easily be affected by how other divs are defined (especially the dreaded "clear" definitions). There were a LOT of places where the gallery's layout broke my template. In particular, I had pages where stuff floated to the bottom. Viewing pictures full-sized also "broke" the bottom of my template.

I could have spent several more hours trying to force all the CSS to play nice with each other, but I don't have that kind of time. So, in order to fix my various problems, within my template's index file, I had to wrap my mainbody() statement within a single row/single column table, with width set appropriately. I also am tweaking the gallery CSS to further define my layout. Although your template is different from mine, I am willing to bet that you may be suffering from various combinations of float and clear definitions (check your page source and look within your gallery's CSS file).

I am a fan of CSS, no doubt, but, unfortunately, having divs in the site template, plus divs within the gallery layout itself (particularly ".clr" divs due to my layout) caused conflict. "Pure" CSS, at least from my experience, rarely works in all situations cross-browser. Sometimes, a table call just makes life saner.  Roll Eyes

Regards,
Brat.
« Last Edit: April 29, 2007, 02:14:44 AM by Brat » Logged
 
Reply #4
« on: May 02, 2007, 07:07:02 PM »
matu Offline
Newbie
*
Posts: 8

View Profile Email

Finally i found the solution. In the rsgallery2.html.php file just before the comment: <!-- end highslide container 2 --> was an ended div tag. I did not found a starting tag for it and deleting this tag fixed the problem.
Logged
 
Reply #5
« on: May 03, 2007, 02:25:36 PM »
krazekimmy Offline
Newbie
*
Posts: 5

View Profile WWW

I was having the same problem, in my case it was testing out fine on a mac in Firefox and Safari but broken on a PC in internet explorer - as a temporary fix I bit the bullet and put a table in my template css file... here's my original post: http://rsgallery2.net/component/option,com_smf/Itemid,17/topic,6420.0

That said, I did a quick check to see if removing the div tag worked on my staging site (with out the table addition) and it seems like it did!?!?! Though since I don't have a PC I decided to leave the table in on production site for now. Here are samples if you have a minute and can take a look to see if both are working I'd on a PC I'd be your best friend  Grin

Production Site (WITH table and removed </div> tag): http://iheartracing.com/index.php?option=com_rsgallery2&Itemid=67&page=inline&id=1&catid=1&limitstart=0
Stage Site (NO table just </div> tag removed): http://krazekimmy.com/index.php?option=com_rsgallery2&page=inline&id=2&catid=1&limitstart=1

Kimberly

« Last Edit: May 03, 2007, 03:27:28 PM by krazekimmy » Logged
 
Reply #6
« on: May 03, 2007, 03:18:10 PM »
matu Offline
Newbie
*
Posts: 8

View Profile Email

Both versions work fine with FF and also with IE7.  Wink
« Last Edit: May 03, 2007, 03:19:52 PM by matu » Logged
 
Reply #7
« on: May 09, 2007, 04:41:02 PM »
freddie Offline
Newbie
*
Posts: 9

View Profile Email

Finally i found the solution. In the rsgallery2.html.php file just before the comment: <!-- end highslide container 2 --> was an ended div tag. I did not found a starting tag for it and deleting this tag fixed the problem.

thx so much for this post, saved me a lot of searching time Smiley
Logged
 
Reply #8
« on: May 15, 2007, 03:56:08 PM »
Dustin Offline
Newbie
*
Posts: 13

View Profile Email

I appreciate this and I'm using it now. It seems to work well as long as normal popups are used but when I enable fancy popups it breaks the layout. I've attached two screen caps showing the problem. You can see the site at www.birdiewordie.com
Logged
 
Reply #9
« on: May 15, 2007, 03:58:16 PM »
Dustin Offline
Newbie
*
Posts: 13

View Profile Email

And, I viewed the source which I copied to .txt files. I'm attaching both working and broken samples. This is all way beyond my ability to correct so I'm posting it here in the hopes those of you with the skills can diagnose and correct this problem. Thanks!
Logged
 
Reply #10
« on: May 15, 2007, 05:25:54 PM »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1864
danieltulp@hotmail.com
View Profile WWW Email

I suggest you keep it this way, and wait for the 1.13.0 release for the fancy popup, the frontend html is totally different there, and the problem will be solved
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #11
« on: May 15, 2007, 05:43:28 PM »
Dustin Offline
Newbie
*
Posts: 13

View Profile Email

I suggest you keep it this way, and wait for the 1.13.0 release for the fancy popup, the frontend html is totally different there, and the problem will be solved
do we have an eta yet?
Logged
 
Reply #12
« on: May 15, 2007, 10:38:44 PM »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1864
danieltulp@hotmail.com
View Profile WWW Email

no, but we are working on it
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #13
« on: May 15, 2007, 11:49:24 PM »
Dustin Offline
Newbie
*
Posts: 13

View Profile Email

no, but we are working on it
Good answer!

I'll be glad to wait for it, you've got a great gallery and its working so far.
Logged
 
Reply #14
« on: May 18, 2007, 03:08:28 PM »
Scud Offline
Newbie
*
Posts: 2

View Profile Email

(pardon my poor english)

I also get a rather disturbing outcome on the RSGallery component page.

It seems RSG2 invalidates the Versatility III CSS and the results can be seen here: (the text IS greek, it's not a bug!!  Grin Grin )

http://216.22.25.49/newsite/component/option,com_rsgallery2/Itemid,50/lang,el/

Any ideas on how to fix this are welcome!
Logged
 
Print  Pages 1 2
« previous next »
Jump to: