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!
(5 posts)
(2 voices)
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!
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.
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)
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.
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!!!!
You must log in to post.