Removing Galleria Thumbnails on selected Posts/Pages only

resolved (5 posts) (2 voices)

  1. Deep Titanic
    Member

    Hello,

    Firstly thanks for the excellent theme!

    I would like to remove the galleria thumbnails (so just an image slide show)on a few selected pages/posts only.

    Is there a way to do this?

    Thanks!

    Posted 1 year ago #
  2. Elliott
    Support

    Hello Deep Titanic,

    Open up /wp-content/themes/awake/header.php and around line 58 you should see this..

    <body>

    Change it like this..

    <body <?php body_class(); ?>>

    Next open up /wp-content/themes/awake/lib/scripts/custom.js and add the following lines at the beginning..

    jQuery(window).load(function(){
    jQuery('.page-id-2 .galleria-thumbnails-container').hide();
    });

    This will hide the thumbnails on page 2. You will need to change the .page-id-2 to .page-id-25 or whatever page id you want to hide them on. You can view the page ID's by navigating to the page and right click -> View Source and look for the <body> tag.

    Let us know if this helps Deep Titanic.

    Posted 1 year ago #
  3. Deep Titanic
    Member

    Hello yes that did help although it did throw up a couple of minor issues...

    1. I've checked the compatibility view on ie8 (which in my understanding simulates ie7) the thumbnail isn't hidden at all.

    2. whilst the the page is loading the thumbnail pops up and then disappears - is there a way to stop it from showing at all as it covers the page title on slow connections?

    Thanks for your help!!

    oh yeah here is my URL if you need to take a look (please bear in mind that this is still work in progress)

    http://www.abtestarea.com/about

    Posted 1 year ago #
  4. Elliott
    Support

    Hello Deep Titanic,

    Sorry about that, it would work better by hiding them with CSS. You can go ahead and revert the changes we did before.

    Try adding these lines in your style.css file,

    .page-id-2 .galleria-thumbnails-container { display: none !important; }

    And switch the page ID to whatever page you have the galleria on. Let us know if this works for you Deep Titanic.

    Posted 1 year ago #
  5. Deep Titanic
    Member

    Nice !

    As it turns out it has to go in the galleria CSS

    /wp-content/themes/awake/lib/scripts/galleria/themes/classic

    thanks for your help ... I feel like I'm learning CSS pretty fast thanks to this stuff :^)

    Cheers!!!!

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme