Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1371368

    Dear team,
    on my blog entry below (example 1) I have formatted H1,2,3,4, plus fullwidth buttons in the same way as in example 2

    but ex 1 shows a different appearance as e.g. the headings in the lower part suddenly appear in bold plus the buttons down below do not appear green (highlight color) as they should. Ex 2 looks like it should be.

    i´ve tried a lot of mods / copy/paste / deactivate WP Rocket . but nothing did help.

    it would be great if you can help me how to fix.

    thx a lot & best regards Tilman

    #1371383

    Hey Tilman,

    Could you post screenshots highlighting the problems please?

    Best regards,
    Rikard

    #1371390

    Dear Rikard,

    View post on imgur.com

    Headings in Bord & Capitals – Shall Not be
    Buttons shall be orange

    Thx and best regards Tilman

    #1371614

    Hi,

    Thank you for the screenshot.

    The sections starting from GANZHEITLICHE BETRACHTUNG IHRER WEBSITE are outside the wrap_all container, which is why the styling of some elements are a bit different. This usually means that there are html tags in the page that have not been closed properly. Please check the previous sections and look for any invalid html tags.

    Best regards,
    Ismael

    #1371627

    Hi Ismael,
    thx – I do not remember that I’ve added any html tags. Where would I find those?

    Best regards

    Tilman

    #1371632

    Hey Tilman,

    Have you added Strong tags? If you have, please make sure that they are opened and closed properly as following

    
    <strong>This is my strong text</strong>
    

    If you would like us to look into it, please create temporary admin logins and post them here privately :)

    Regards,
    Yigit

    #1371633

    Hi Yigit,

    yes I did use “strong” in the section above – but I did not find a missing closing:


    Anzahl Ihrer „Ja“ Antworten“ = …?
    <h3>7 Fragen an Sie selbst / Ihre Marketingverantwortlichen:</h3>

    Anzahl Ihrer „Ja“ Antworten“ = …?

    Ihr Ergebnis?

    thx a lot if you look into it: A temp login – pls see below

    cheers, Tilman

    #1371634

    Hey,

    It seems like empty Grid Row elements you used to display a border were causing the issue. I deleted Grid Row elements from above 5th and 6th section, edited 5th and 6th section and gave them custom CSS class “top-border-cs” in Advanced > Developer Settings and then added following code to bottom of Quick CSS in Enfold theme options > General Styling

    
    #top #wrap_all #main .avia-section.top-border-cs {
      border-top: 5px solid #008d8f;
    }
    

    If you would like to display the same border on other sections, please give them “top-border-cs” custom CSS class to them as well.

    Please review your website :)

    Regards,
    Yigit

    #1371636

    Hey Yigit,
    ah, I see – that´s supercool :-)

    The only thing I see ow on my end:
    the footer colors appear now different (links green instead of white) on this blog post – normally it looks as below

    any idea how to avoid this?
    thx again, Tilman

    PS: I use the empty grid row on most pages (not posts), e.g. as the one below. Maybe e there is a more clever way by e.g. setting a top border color for the footer?

    • This reply was modified 2 years ago by oestersund.
    #1371640

    Hi Tilman,

    Shortcode of “Easy Table of Contents” plugin is breaking the layout. Deactivating fixes it. I think the issue with Grid Row element is also related to it. I do not have any experience with the plugin. Is there any custom HTML added into it?

    Best regards,
    Yigit

    #1371641

    Hi Yigit,
    hm ok. That would be a pity as the plugin´s toc functionality itself is great.
    I did not add custom html there. There are some optional settings in then plugin menu -> do you see that any of them may cause the problem?

    Alternativiely, do you know a toc plugin that causes no trouble w/enfold?

    thx again / best regards Tilman

    #1371646

    Hi,

    I toggled to load from JavaScript instead of Pure CSS but that did not make any difference. Unfortunately I do not have any experience with the plugin as I mentioned. Could you please contact plugin authors and see if they have any insights on what could be causing the issue?

    As an alternative, you could try creating a new widget area in Appearance > Widgets, add Enfold Table of Content widget to your widget area and then display that widget using Widget Area element on your page :)

    Regards,
    Yigit

    #1371680

    Hi Yigit,
    yes, that’s of course an option, thx. I did it, but would like to modify these aspects then:

    – No capitals
    – bigger font size
    – option to collapse / minimize the TOC

    Would be great if there are some CSS adjustments or so in order to get this. Then I would be happy to delete the other plugin :-)

    thx agin & cheers, Tilman

    • This reply was modified 2 years ago by oestersund.
    #1372231

    Hi Tilman,

    Please add following code to Quick CSS field in Enfold theme options > General Styling tab

    
    /* No capitals */
    .avia-toc-style-elegant a {
      text-transform: none;
    }
    /* Font size for level 1 */
    .avia-toc-style-elegant .avia-toc-level-1 {
      font-size: 20px;
    }
    /* Font size for level 2 */
    .avia-toc-style-elegant .avia-toc-level-2 {
      font-size: 18px;
    }
    /* Style toggle button */
    .toc-toggle {
      background: transparent;
      border: none;
      font-size: 20px;
    }
    

    Then add following code to bottom of functions.php file of your child theme to add toggle button to TOC

    
    add_action('wp_head', 'toggle_toc');
    function toggle_toc(){
     ?>
     <script>
     jQuery(window).load(function(){
    	var $input = jQuery('<input class="toc-toggle" type="button" value="≡" />');
        $input.prependTo(jQuery(".avia_auto_toc"));
    	 
    	jQuery( ".toc-toggle" ).click(function() {
    	jQuery( ".avia-toc-container" ).toggle();
    });
    	 
    });
     </script>
    <?php 
    }
    

    Best regards,
    Yigit

    #1372423

    Hi Yigit,
    👍thx a lot, I‘ll try.

    Best regards, Tilman

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘inconsistent look of heading and buttons’ is closed to new replies.