-
AuthorPosts
-
November 4, 2022 at 7:19 pm #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 2but 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
November 4, 2022 at 10:02 pm #1371383Hey Tilman,
Could you post screenshots highlighting the problems please?
Best regards,
RikardNovember 4, 2022 at 11:04 pm #1371390Dear Rikard,
Headings in Bord & Capitals – Shall Not be
Buttons shall be orangeThx and best regards Tilman
November 7, 2022 at 8:03 am #1371614Hi,
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,
IsmaelNovember 7, 2022 at 10:38 am #1371627Hi Ismael,
thx – I do not remember that I’ve added any html tags. Where would I find those?Best regards
Tilman
November 7, 2022 at 10:54 am #1371632Hey 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,
YigitNovember 7, 2022 at 11:05 am #1371633Hi 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
November 7, 2022 at 11:30 am #1371634Hey,
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,
YigitNovember 7, 2022 at 11:44 am #1371636Hey 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 belowany idea how to avoid this?
thx again, TilmanPS: 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, 1 month ago by oestersund.
November 7, 2022 at 12:05 pm #1371640Hi 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,
YigitNovember 7, 2022 at 12:15 pm #1371641Hi 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
November 7, 2022 at 12:48 pm #1371646Hi,
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,
YigitNovember 7, 2022 at 6:34 pm #1371680Hi 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 TOCWould 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, 1 month ago by oestersund.
November 11, 2022 at 4:25 pm #1372231Hi 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,
YigitNovember 13, 2022 at 6:37 pm #1372423Hi Yigit,
👍thx a lot, I‘ll try.Best regards, Tilman
-
AuthorPosts
- The topic ‘inconsistent look of heading and buttons’ is closed to new replies.