I am trying to:CSS in Views
Link to a page where the issue can be seen:
I expected to see:hidden link
Instead, I got: hidden link
Please see this video hidden link
Hello,
Thanks for the video, I can see the difference in the URLs you mentioned above.
And I have tried the credentials you provided above, but it isn't an valid admin account, so can not check views setting, please check it, make sure it is a valid administrator account.
And you can try with Views API function render_view() to render views instead of do_shortcode, see our document:
https://toolset.com/documentation/programmer-reference/views-api/#render_view
Renders a View and returns the HTML output.
Sorry. I just fixed it. Let me look into this and see if I can get it to work.
I can't figure this out. Is there any way to completely disable CSS for this view?
There isn't such kind of built-in feature, you might consider one of below options:
1) Remove all CSS codes from that specific view.
2) Try with custom PHP codes, for example:
add_filter( 'wpv_filter_get_meta_html_extra_css', function($views_extra_css){
global $WP_Views;
if($WP_Views->current_view == 123){
$views_extra_css = '';
}
return $views_extra_css;
}, 99 );
Please replace 123 with your specific view's ID.
Where would be the appropriate area to put this?
Thanks!
You can put those custom codes into your theme file "functions.php", and test again.
I tried this and it didn't work. You can try. This account is a test server
I have tried the credentials you provided in:
https://toolset.com/forums/topic/css-is-not-working-and-being-over-written/#post-1373529
I got this error:
ERROR: The password you entered for the username toolset is incorrect
Please check it, make sure it is a valid administrator account.
https://toolset.com/forums/topic/css-is-not-working-and-being-over-written/#post-1373691
I have tried to edit your theme file "functions.php" in WordPress admin side, it can not save any change, so can not test and debug the custom PHP codes in your website, please provide the copy of your website in below private message box:
https://toolset.com/faq/provide-supporters-copy-site/
You can put the duplicator package in your own google drive disk, and share the link.