I’ve created a custom CSS class that makes sure that the widget in question, when inserted under ‘Extra Class’ in the Visual Composer variant of the widget, makes sure that the widget doesn’t get shown when browsing the website on a mobile device. This ‘Extra Class’ option doesn’t show up in TagDiv-widgets that are placed in the ‘Newsmag default’ sidebar. Am I missing something? Thanks in advance for your answer!
Hello Torasko,
Unfortunately, I do not exactly understand about what kind of widgets on mobile you are referring to because the widgets from Sidebar are not appearing on mobile devices, sorry!
I think I misunderstood, sorry! If is not what you mean, please provide more details about your problem and also, you can provide some useful screenshots with what changes you made more accurately, so I will be able to provide a more accurate response. Also, you can provide your website URL so I can inspect it closer.
Thanks for your understanding!
Let me ask it another way. The ‘tech demo’ version of Newsmag brings ‘Newsmag default’ sidebar. I’ve placed 3x ‘[tagDiv] Block 15’ + 1x ‘[TagDiv] Ad blox’ in it. These widgets have no way of using custom added CSS classes.
On the other hand, on the right column of the frontpage (which is made with Visual Composer), I’ve placed a ‘Social Counter’, an ‘Add Box’ and a ‘Block 7’. If I edit these from within the Visual Composer page, it gives an option to add an ‘Extra Class’, in which I place the class which executes the following code, added in the Custom CSS section of the Newsmag panel:
@media only screen and (max-width: 768px) {
.only_desktop { display: none !important; }}
Since the default sidebar doesn’t give me the option to add CSS classes to widgets (for example, I also want to hide certain widgets that are placed in the footer section), they are viewable on phones and tablets.
If you would like to see the page, I’m gonna have to give you a username and password since the website is still in development and hidden behind a htaccess-login. Could you send me a mail at j.vanleeuwen@torasko.com if you would like this?
Thanks in advance for your feedback. I’m looking forward to hear from you!
Hello Torasko,
Indeed, in the Widgets section, there no exist any way to add your custom class but notice that you can use the Ad Box element when you can add your desired Ads and create there your custom CSS class, like this -> https://www.screencast.com/t/xlF0aImsUA
If is not what you mean, please provide more details about your problem and also, if you need more assistance in this regard, you can send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can access it your backend.
Thanks for your understanding!
I think we’re not really on the same level, or I’m just misinterpreting your answer for (for which I’m sorry if that’s the case!), but let me ask this question in another way to perhaps make it more clear. As an example, how would I use Custom CSS, inserted in the Newsmag panel, link to – for example – a basis text widget placed in the footer?
If you would like to gain access, I will send you an e-mail with a link to the website and the user credentials to get into it.
Once again, thanks for your answer and trouble. I’m looking forward to reply!
Hello Torasko,
You should send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can take a closer look at it. Provide there the link to this topic so we can quickly identify you. Also, please provide there more details about your problem for a better understanding.
Thanks for the message!