PDA

View Full Version : Using SmoothGallery


ComoEstaEso-com
09-06-2010, 02:50 AM
Hello :)

Have a quick question:
Where should I put these two lines:
<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />

They are from SmoothGallery (http://smoothgallery.jondesign.net/getting-started/)

I am able to get the gallery to work inside a Widget.
Yet, when I drop in the "css" lines above, the forums get whacky.
(( background color changes to the one programmed in SmoothGallery, etc. ))
** By "drop in" I mean I place them in the headinclude

Any thoughts?
Anything I could change in order to have it not conflict?

Thank you very much for your help... much appreciated! :D

toon79
09-06-2010, 01:50 PM
I'm gussing you could copy what's inside the files into the additional.css file and control them from there

ComoEstaEso-com
09-08-2010, 12:54 AM
I'm gussing you could copy what's inside the files into the additional.css file and control them from there

Thanks for the reply... going to go play with that right now. :)
Thanks!

ComoEstaEso-com
09-10-2010, 12:06 AM
Hello again,

I did as suggested, and the contents of those two files, I placed inside the ADDITIONAL.CSS template.

Now, the SmoothGallery plugins works, and the images scroll.
All is good.
Yet, in about 5 minutes of reloading the page and surfing the forums, errors arise.
The normal font sizes change, as well as the spacing of the text.

As soon as I remove everything from inside ADDITIONAL.CSS, all goes back to normal.

Would there be a way to change the values of the font information on SmoothGallery's side?

toon79
09-10-2010, 06:58 AM
The smoothgallery will have same names that the forum may be inheriting, you will need to rename them something unique

ComoEstaEso-com
09-14-2010, 07:05 PM
Hello... wanted to update.

I "made this work" (instead of "fixing it") by deleting lines in the CSS... deleting all the h1, h2, h3, link, etc definitions.
Once I deleted enough of them (lol), it stopped conflicting with vBulletin's CSS.
I know it isn't the proper way to do it... yet it's working. :)
Thanks for your help toon79... helped plenty!! :)