-
Search Results
-
Hi All
At the top of some pages, not in the header, I have a content section which gives a very small gray border at the bottom.
All settings are correct. When I duplicate the content section and place it underneath the top one, the bottom border of the top one disappears and shows itself on the lower one.How to solve this
Best regards,
WoutskiBy inserting horizontal images of 1065*800 pixels, these are visible entirely on 1920*1080 or 1680*1050 desktop screens because the Content Area still has dimensions larger than the images themselves.
The same result is obtained with vertical images 600*800.
Reducing the screen size (for example to 1360*768), the horizontal images (1065*800) are automatically resized according to the width, so they fit on the screen even if you cannot see them in full because the new vertical size is slightly larger to the screen itself.
However, in the case of vertical images, automatic resizing does not occur because the width of the images (600) is much smaller than the screen (1360).
What parameter can I force or what code can I use to get vertical photos scaled by height instead of width, if that size is higher than the monitor size?Topic: Lighthouse CSP errors
Lighthouse was downgrading my Best Practices report on this website with an “Ensure CSP is effective against XSS attacks” error. This is Google’s reference page: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/
I found this thread and implemented Guenni007’s solution as he posted it.
Whilst my Best Practices score is now 100 Lighthouse is still generating the same main error as above but now with these specific details:
script-src
directive is missing. This can allow the execution of unsafe scripts.
Missingobject-src
allows the injection of plugins that execute unsafe scripts. Consider settingobject-src
to'none'
if you can.(Quite how I get a score of 100 when there are still errors seems a bit bizarre to me, whatever…)
I have no idea how to alter .htaccess to fix this: please can you make a suggestion?
When saving a modified page in side builder, it returns the unchanged page.
[22-Nov-2024 19:01:58 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property “ID” on null in /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php:398
Stack trace:
#0 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1329): avia_sc_upcoming_events->shortcode_handler()
#1 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare()
#2 [internal function]: do_shortcode_tag()
#3 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(273): preg_replace_callback()
#4 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode()
#5 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section/section.php(1547): ShortcodeHelper::avia_remove_autop()
#6 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1329): avia_sc_section->shortcode_handler()
#7 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare()
#8 [internal function]: do_shortcode_tag()
#9 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(273): preg_replace_callback()
#10 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php(3195): do_shortcode()
#11 /homepages/xx/xxxx/htdocs/wp-includes/class-wp-hook.php(324): AviaBuilder->text_to_preview()
#12 /homepages/xx/xxxx/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /homepages/xx/xxxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /homepages/xx/xxxx/htdocs/wp-admin/admin-ajax.php(192): do_action()
#15 {main}
thrown in /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php on line 398
Viewing 30 results - 1,861 through 1,890 (of 141,827 total)