
-
AuthorPosts
-
January 19, 2020 at 3:56 pm #1176014
https://kriesi.at/support/topic/3-probleme-mega-menu-schrift-widgets-title-und-text/#post-1077654
In the topic above you suggest a solution to hide the §19 (1) UStG. text in the product list. I tried the same but to no avail.
I use a child theme that loads the parent theme’s CSS in functions.php like this:function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); }
And I have a style.css that contains the suggested code, added through Appearance > Editor (Enfold Child is selected):
/* Theme Name: Enfold Child Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then. Version: 1.0 Author: Kriesi Author URI: http://kriesi.at Template: enfold */ /*Add your own styles here:*/ .product_list_widget p.wc-gzd-additional-info.small-business-info { display: none !important; }
What am I missing?
January 19, 2020 at 9:58 pm #1176125Hey DivaNails,
Please try adding the css to the Enfold Theme Options > General Styling > Quick CSS field.
After applying the css, Please clear your browser cache and check.
If this works then you have the css & js file merging enabled, while making your css edits directly into the child theme style.css.
The merged files only update then the theme settings are updated, such as clicking the big blue button “save all changes”, saving the style.css file doesn’t update the merged files.
So you could save the theme settings to force re-building the merged file, if the button is not clickable, try adding a blank space into the Quick CSS field to activate the button.For best results, try disabling the merged css & js, and disable any caching plugin, and enter your css into the “Quick CSS” field while you are creating your site. Once you are done you can move all of your css to the style.css and enable your caching & merging.
I hope this helps explain what is happening.If this doesn’t help, please include an admin login in the private content area so we can be of more assistance.
Best regards,
MikeJanuary 20, 2020 at 9:56 am #1176226This reply has been marked as private.January 20, 2020 at 1:28 pm #1176284Hi,
Thanks for the login, I removed your Quick CSS code and changed your child theme stylesheet css to this:.product .inner_product p.wc-gzd-additional-info.small-business-info { display: none !important; }
It is now working, please clear your browser cache and check.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.