-
AuthorPosts
-
June 1, 2022 at 6:09 pm #1353787
Hi,
how can I dlete static styles. For e.g.:<div class=”av-tab-section-tab-title-container avia-tab-title-padding-none av-custom-tab-color” role=”tablist” styles=”min-width: 1190px; left: 0px”>
In Enfoldy Backend there is nowhere a possibilty to give another width and I want to set it to “none”. But where?
https://wordpress.p588916.webspaceconfig.de/?page_id=156#junge-steuerberater-ak-just
Thanks for supporting
June 2, 2022 at 5:12 am #1353844Hey slikslok,
You can change those inline styles by targeting the element then after the value add !important
Hope this helps.Best regards,
NikkoJune 3, 2022 at 9:26 am #1353991Sure. I know that. But it doesn’t work (quite often !improtnat does NOT override inline-styles especially created be js!)….
Can you please point out in which java-script this is build? So I delete it there.Thanks
June 5, 2022 at 7:49 pm #1354251Hi,
Thank you for your patience, for the av-tab-section-tab-title-container this can be adjusted with css like this:#top #main .av-tab-section-tab-title-container { max-width: 600px; margin: auto; }
the javascript for the element width is in the file\enfold\config-templatebuilder\avia-shortcodes\tab_section\tab_section.js
I don’t recommend that you edit this file.
If you need further help please create an example page and detail what you are trying to achieve so we can examine your specific issue and help with some css.Best regards,
MikeJune 7, 2022 at 10:37 am #1354367i do not see any tab-section on that page – the ID has changed too. So can you correct the link to that element it is concerning too – or make a screenshow what you like to change.
there is that one snippet for child-theme functions.php :
( it turns from inline css to internal css )function custom_avf_post_css_create_file( $create ){ return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
After that the inline css will be not there ( it changes to Internal CSS ) – and the styles are placed before the container as
<style …>…</style>
which is then included to merged styles.June 7, 2022 at 2:34 pm #1354389 -
AuthorPosts
- You must be logged in to reply to this topic.