Is it possible to temporarily comment out or hide an element (maybe with a custom css class?) in ALB? I have one page that I create over and over again, and build it as elements are available using saved templates. So for example, when a video is ready for the page, I add that template in.
(When I say element, I mean something like a full screen slider or a color section.)
I would love to be able to copy over a page, then keep certain elements from displaying until I am ready to use them. Would be so easy!
Or is there another way to get at this?
Thanks!!!!!
Rob
PS Thank you for all the help… I just paid to extend my license so I can keep asking questions here!
Hi Rob,
So you want to hide them on the front-end, not the back-end, correct? If so I would use CSS for that, you can add ID’s to Color Sections for instance then hide them like so:
#id-of-color-section {
display:none;
}
Best regards,
Rikard
Hi Rikard,
Yes I want to hide them on the front end and not the back end… you are correct…
Is there a way to do this via the “custom css class” field? I’m not sure I know how to do what you’re recommending, and also am concerned it’s several steps each time I want to hide an element on a new page. Ideally I would love to just put ‘nodisplay’ in custom css and have it not display on the front end. Right now only_mobile and only_desktop work… could I somehow implement an only_noone ? or?
Thanks!!!!
Rob
Hi Rob,
Yes you can do that with a class as well, try something like this in Quick CSS:
.your-custom-class {
display:none;
}
Add your-custom-class to the element you don’t want show.
Best regards,
Rikard
Perfect, thanks!!