![]() |
Limit a widget to certain style?
How can I limit a cms widget to a particular style?
The problem is I have only one light style and I design any widgets for the dark styles as there are more of them. I know I should stick with one style but I just can't choose .... they are all my babies :) |
Why not just fix the widget in the style?
|
Quote:
--------------- Added 23 Jul 2014 at 14:33 --------------- A simple method, if you just have a few widgets to modify, is to surround the widget with a style ID conditional. Code:
<!-- Do not display the current style if the current style is ID "6" --> |
Quote:
|
What type of widget is it?
|
Quote:
|
That's not quite what I ment, is it a PHP or a HTML type?
|
Quote:
It's html. |
Quote:
Quote:
Quote:
Here's one I edited to make the background dark: Code:
<iframe src="http://cache.www.gametracker.com/components/html0/?host=12.34.567.891:1234&bgColor=000000&fontColor=F5F5F5&titleBgColor=000000&titleColor=FFFFFF&borderColor=000000&linkColor=00CCFF&borderLinkColor=00CCFF&showMap=0¤tPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe> |
Quote:
Code:
<center><iframe src="http://cache.www.gametracker.com/components/html0/?host=216.52.148.11:24240&bgColor=CCCCCC&fontColor=000000&titleBgColor=CCCCCC&titleColor=FF2B00&borderColor=F5F4F4&linkColor=493C08&borderLinkColor=4D4B4B&showMap=0¤tPlayersHeight=200&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=270" frameborder="0" scrolling="no" width="270" height="388"></iframe></center> While I'm thinking about it, if I could just exclude the widget from the dark styles that would be good too. |
All times are GMT. The time now is 09:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|