Status
Not open for further replies.
Is it possible to specify css styles per instance of the slider?

If there isn't a handy way to do it, can a template conditional be used... (e.g., if instance=1, then ...)
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
As of right now, there isn't a handy way to do it. You could probably do it the way you are describing, though.

Using the Stylevars for CSS changes was brought over from the original script prior to having the ability to do instances. In the next version, I will look into having anything that is in the Stylevars move over to a per-instance basis, similar to the loader and navigation selections, to allow for full instance customization.
 
I'd love to have the ability to use a variable to check which instance is displaying in templates. That would also allow conditionals based on which instance is displaying.

Do you have any idea if there is a template conditional that could be used to indicate the first page of forumdisplay so that a slider could be displayed on the top of the first page of a forum but not any of the subsequent pages?

As far as per instance css, it would be nice to also be able to specify the color of the background behind the text and text color, as well as the height.
 
Last edited:
If you manually deploy the slider instances instead of using auto deploy, that would easily let you know what instance is displayed.

The FORUMDISPLAY template can have
Code:
<vb:if condition="$pagenumber == 1">
to display something only on the first page.
 
Status
Not open for further replies.
Back
Top