[SOLVED] How to NOT show a particular widget on a particular page ?
Hi if the widget class is "text-2" and the page id is "26", then what would be the code to NOT show that widget on that particular page. Thanks
|
I use the Dynamic Widgets of Display Widgets plugin to do that but the code would be something like the following.
HTML Code:
body.page-id-24 .text-2 { |
That unfortunately doesn't work at my end. I have only this widget to customize and I would much rather have it via css than by installing a plugin
|
But this one is working
Code:
body.page-id-24 #text-2 { |
But you said it was a CLASS of text-2 not an ID so that's cheating.:p
|
All times are GMT -6. The time now is 11:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.