Your Cart

Galleria theme is overwriting existing style sheet (CSS)

These forums are now closed to new replies / tickets.

Please open a support ticket from our new Support page.

Front Page Forums Questions Galleria theme is overwriting existing style sheet (CSS)

  • gravatar
    Hejja Huba Ferencz PFA
    October 6, 2014 at 11:29 am

    Hi guys!

    I recently purchased galleria theme Folio, and were able to
    implement it correctly, but when I refreshed the page I saw that
    galleria is completely overwriting / neglecting / ruining my
    existing CSS.

    In my code I have images wrapped in anchor tags, and they were
    placed on the page carefully with some aspect ratios, with some
    ultimate JQuery height adjustments, and galleria just ignored these
    “settings”.

    What I want:
    – When a user click on an anchor containing the images THEN
    galleria theme FOLIO should load and do the magic

    What I DON’T want:
    – galleria to render the images and ruining my ultimate JQuery
    height manipulation scripts – do its magic on window load

    So, the question is: is there a way to load galleria ONLY on a
    certain trigger (click of an image), and make the script take in
    account existing CSS/JQuery rules?

    Many thanks,
    Huba


    gravatar
    Hejja Huba Ferencz PFA
    October 13, 2014 at 6:55 am

    Hey guys! Any reply please?


    gravatar
    Mark Ellis
    November 2, 2014 at 7:59 pm

    First thing is to check that you have the html and the js files
    pointing to the same css file.

    What’s your website page address?


    gravatar
    Hejja Huba Ferencz PFA
    November 4, 2014 at 7:50 pm

    Hello!

    I can’t show you exactly now, how the script is behaving on a
    web-page,
    but the one thing I can tell you is that before I installed
    Galleria, I
    had a responsive CSS grid with exact image widths and heights
    and
    margins, but after installing Galleria all these settings were
    overwritten by Galleria and images displayed as they appear on
    your
    theme page.

    Is there a way to start galleria ONLY when a user clicks on an
    image,
    and then it would enter in fullscreen view?

    Thanks,
    Huba

    On 2014.11.02. 22:00, Mark Ellis wrote:


    gravatar
    Mark Ellis
    November 4, 2014 at 10:53 pm

    What’s the url of your slideshow?

    Galleria will use the settings from it’s own css. But you need
    to let us see your page so that you can be helped

    If I understand your last paragraph correctly. You can turn off
    Autoplay.
    Look in the html for “autoplay” and change to Autoplay:false


Galleria.io uses cookies to store information. You can read more about that in our Privacy Policy. I understand