Forum Replies Created
-
AuthorPosts
-
August 13, 2022 at 11:42 am in reply to: Mobile Menu CLS (Cumulative Layout Shift) Issue with Digital Pro #505680
EatDrinkDeals
ParticipantTo fix my CLS issue with the Magazine Pro menu I just removed the menu and replaced it with simple HTML links. My mobile CLS score went from .34 (poor) to .0001 (passed). I added the HTML links by using: Customize -> Widgets -> Header Right -> Add a Widget -> Custom HTML.
My site is http://www.seniordaily.comEatDrinkDeals
ParticipantYour poor CLS scores are probably due to the Menu, which causes` CLS problems for many of us. Read more at https://studiopress.community/topic/mobile-menu-cls-cumulative-layout-shift-issue-with-digital-pro/page/3/
August 9, 2022 at 9:50 am in reply to: Mobile Menu CLS (Cumulative Layout Shift) Issue with Digital Pro #505657EatDrinkDeals
ParticipantThe menu is still causing me to get poor CLS scores for mobile. So I'd like to try moving the menu to the bottom of my web pages. However, when I go into Customize -> Menus I am only allowed two menu locations, Before Header and After Header. How can I move my menu to the bottom of the page (for Mobile only)?
EatDrinkDeals
ParticipantYour remove_action code suggestion appears to work, thank you.
EatDrinkDeals
ParticipantTo address this I did the following, if anyone thinks this was the wrong approach please reply.
1. Made a copy of sidebar.php from the Genesis folder.
2. Edited to add this line at the top
if ( ! wp_is_mobile() ) {3. And this at the bottom
} else {
// Do nothing
}
4. Uploaded the file to the Magazine Pro themes folderI think that this turns all the sidebar function into a no-op on mobile devices.
EatDrinkDeals
ParticipantI forgot to add that I am using Magazine Pro 3.7.0 and Genesis 3.3.3. Also here is my pagespeed:
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.seniordaily.com%2FEatDrinkDeals
ParticipantThanks for those pointers, Victor. This led me to the problem, which was caching. I cleared cache, turned off plugins, etc. and everything is back to normal. I think the problem was at my CDN. Clearing cache there and disabling it for awhile seemed to be the fix.
December 27, 2020 at 9:34 am in reply to: Magazine Pro – Can I move post_date out of the image? #502415EatDrinkDeals
ParticipantNever mind, I got this entry date moved out of the image by commenting out these lines in functions.php:
// if ( function_exists( 'genesis_blocks_text_domain' ) ) {
// wp_enqueue_script(
// genesis_get_theme_handle() . '-move-entry-dates',
// get_stylesheet_directory_uri() . '/js/move-entry-dates.js',
// [],
// '1.1.0',
// true
// );
// }December 26, 2020 at 3:48 pm in reply to: Magazine Pro – Can I move post_date out of the image? #502408EatDrinkDeals
ParticipantWith the new Magazine Pro the lines regarding magazine-entry-date no longer appear in functions.php so the fix above no longer works. Can you give a new fix to remove post_date out of the image and down to above the excerpt?
The following screencap shows what I need to do. Any suggestions would be appreciated.
http://s000.tinyupload.com/?file_id=08144286423443491050January 26, 2020 at 3:12 pm in reply to: Magazine Pro Documentation Home Page Documentation Issues. #496213EatDrinkDeals
ParticipantOk thanks Anita I think I have it now.
January 26, 2020 at 9:04 am in reply to: Magazine Pro Documentation Home Page Documentation Issues. #496209EatDrinkDeals
ParticipantThanks, I'll try to work with blocks, just one elemental question: how do I select which posts are Featured Spotlight and Explore? The featured post seems to be the one with the most recent published date, which works for me. But I can't figure out how to put posts into Spotlight and Explore.
January 25, 2020 at 4:47 pm in reply to: Magazine Pro Documentation Home Page Documentation Issues. #496199EatDrinkDeals
ParticipantI just did a fresh install of Magazine New Pro plus the content package. My home page does look like the demo but nowhere can I find the settings for the home - top home - middle and home - bottom widgets. I've looked in the Widgets dashboard and on the customization home page. How do I get to it? I want to make some changes.
EatDrinkDeals
ParticipantThanks, Anita, any suggestions on how I can add pagination?
EatDrinkDeals
ParticipantI need to hide the sidebar for mobile as well. Using your solution above, how do I find my sidebar widget IDs?
February 23, 2019 at 10:55 am in reply to: Magazine Pro – Can I move post_date out of the image? #489688EatDrinkDeals
ParticipantRemoving those lines worked great, thanks!
-
AuthorPosts