vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Using SmoothGallery (https://vborg.vbsupport.ru/showthread.php?t=250018)

ComoEstaEso-com 09-06-2010 02:50 AM

Using SmoothGallery
 
Hello :)

Have a quick question:
Where should I put these two lines:
Code:

                <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

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

Quote:

Originally Posted by toon79 (Post 2094571)
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!! :)


All times are GMT. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01009 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete