If I customize a gallery by clicking "just this gallery" is there anyway to affect a change to that gallery my using site-wide code, using a gallery-wide html box?
I'm not sure on what exactly you're trying to do. Perhaps you could elaborate / include a specific example?
In general, if you make a gallery custom, that gallery would no longer make use of any customizations on the "all galleries" section. However, the customizations from "entire site" should still take effect.
I'm not sure on what exactly you're trying to do. Perhaps you could elaborate / include a specific example?
In general, if you make a gallery custom, that gallery would no longer make use of any customizations on the "all galleries" section. However, the customizations from "entire site" should still take effect.
I am trying to add a "Back to top" bottom to all the Collage style galleries. If I add it to entire site I need to target just that type of gallery, which I an having trouble doing.
Here's what I am trying to add...
To me, I have found that all CSS flows down and the "just this ..." CSS is used to override CSS from above.
Also to add specific CSS for only that page.
Just saw your last post. I think you need to find a specific class name for that type of gallery. Then apply
that in your CSS to hide/show.
Back in the past I think someone posted the class names to the different gallery types but I can't find it.
If not Smug needs to add a class name to every page defining the page type/gallery style.
BTW, I've added "Back to Top" only to specific pages.
Just saw your last post. I think you need to find a specific class name for that type of gallery. Then apply
that in your CSS to hide/show.
Back in the past I think someone posted the class names to the different gallery types but I can't find it.
If not Smug needs to add a class name to every page defining the page type/gallery style.
BTW, I've added "Back to Top" only to specific pages.
Ya, I know I can add it to just specific pages but there are a bunch to change at this point and I would rather not have to add that code every time I change a gallery to collage.
You are correct as to the class thing, but I cannot figure out the class. I often long for OLD SM where I knew the class codes.
Ya, I know I can add it to just specific pages but there are a bunch to change at this point and I would rather not have to add that code every time I change a gallery to collage.
You are correct as to the class thing, but I cannot figure out the class. I often long for OLD SM where I knew the class codes.
You can add the CSS to "entire site" or "all galleries" but the "Back to Top" DIV has to be added only to specific pages.
Only if you can specific CSS for that gallery style.
As of now without being able to specific gallery style I think you have to make the gallery "Just this .."
and add "Just this .." CSS block.
In "entire site" CSS
#topButton {display:none}
in each specific gallery "just this ..." CSS
#topButton {display:block}
Sure that will work, but if I have to modify each gallery then it defeats the purpose of the global setting. I am trying to avoid making adjustments to each gallery.
Hopefully someone will chime in with the class code I need.
Sure that will work, but if I have to modify each gallery then it defeats the purpose of the global setting. I am trying to avoid making adjustments to each gallery.
Hopefully someone will chime in with the class code I need.
This SHOULD be the Class (based on several of the customizations the gurus have created), .sm-gallery-roworganic, but it is not working.
Comments
In general, if you make a gallery custom, that gallery would no longer make use of any customizations on the "all galleries" section. However, the customizations from "entire site" should still take effect.
SmugMug Support Hero
I am trying to add a "Back to top" bottom to all the Collage style galleries. If I add it to entire site I need to target just that type of gallery, which I an having trouble doing.
Here's what I am trying to add...
Also to add specific CSS for only that page.
My Website index | My Blog
that in your CSS to hide/show.
Back in the past I think someone posted the class names to the different gallery types but I can't find it.
If not Smug needs to add a class name to every page defining the page type/gallery style.
BTW, I've added "Back to Top" only to specific pages.
My Website index | My Blog
Ya, I know I can add it to just specific pages but there are a bunch to change at this point and I would rather not have to add that code every time I change a gallery to collage.
You are correct as to the class thing, but I cannot figure out the class. I often long for OLD SM where I knew the class codes.
My Website index | My Blog
If I use a site wide HTML block I SHOULD be able to hide it {display:none} and show it on the Collage galleries ... Collage Class {display:block}
As of now without being able to specific gallery style I think you have to make the gallery "Just this .."
and add "Just this .." CSS block.
In "entire site" CSS
#topButton {display:none}
in each specific gallery "just this ..." CSS
#topButton {display:block}
My Website index | My Blog
Sure that will work, but if I have to modify each gallery then it defeats the purpose of the global setting. I am trying to avoid making adjustments to each gallery.
Hopefully someone will chime in with the class code I need.
This SHOULD be the Class (based on several of the customizations the gurus have created), .sm-gallery-roworganic, but it is not working.
Not sure if in CSS you can check the whole page for a class name.
Something like this
IF page contains sm-gallery-roworganic THEN display:block
My Website index | My Blog