Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #1353844

    Hey slikslok,

    You can change those inline styles by targeting the element then after the value add !important
    Hope this helps.

    Best regards,
    Nikko

    #1353991

    Sure. 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

    #1354251

    Hi,
    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;
    }

    2022-06-05_133206.jpg
    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,
    Mike

    #1354367

    i 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.

    #1354389

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.