Fidelis Onwubueke wrote:
Hello,
I have several pages on my site displaying content with RokSprocket Mosiac modules . I was wondering if there is a way to modify the display so that I can have slightly different variations one some pages.
For example, in my template-custom.less I can add a border color using this CSS (.rt-overlay-dark .sprocket-mosaic .sprocket-mosaic-item .sprocket-padding {border:1px solid #000000; }.
The problem is that this change affects all the other pages with RokSprocket Mosaic modules. How do I restrict this to only one page. Can I create themes, I tried this but the theme I created doesn't show in the list of available themes from the theme menu under the Mosaic Layout Options.
Thanks
Foj
There is an easier way than using LESS files. To find out more on how to create and use Custom CSS files, follow this guide
Your first CSS custom file - OR - LESS custom file
The idea is to use page class suffix's in your Custom CSS file. This way each page has a different CSS for the RokSprocket module on it.
Please see the guide
My post on how to Use PAGE class suffixes