- This topic has 13 replies, 2 voices, and was last updated 4 years, 6 months ago by Leo.
-
AuthorPosts
-
September 9, 2019 at 9:46 am #1004983Mika
Hello
I have premium version and i have managed to break footer area.
3 footer widgets are showing top of each other instead horizontal.
I am using one-container setup.Customize setting are for footer:
– Footer width is Contained
– Inner footer width is Full
– Footer widgets 3
– Back to top button: Disabled
– Footer widget area padding; 20, 40, 20,40
– Footer padding; 20,20,20,20/*————————————————————–
# Footer
————————————————————–*/
.site-info {
text-align: center;
padding: 20px;
font-size: 15px;
}.site-footer .footer-widgets-container .inner-padding {
padding: 0px 0px 0px 40px;
}.footer-widgets-container .inside-footer-widgets {
margin-left: -40px;
}
.footer-widgets {
padding: 40px 0px 20px 0px;
background-color: lightgrey;
}
.sidebar .widget *:last-child,
.footer-widgets .widget *:last-child {
margin-bottom: 0;
}
.widget-title {
margin-bottom: 30px;
font-size: 20px;
line-height: 1.5;
font-weight: normal;
text-transform: none;
}
.separate-containers .inside-article > [class*=”page-header-“],
.one-container .inside-article > [class*=”page-header-“] {
margin-bottom: 2em;
margin-top: 0;
}Thanks Mika
September 9, 2019 at 9:48 am #1004989LeoStaffCustomer SupportHi there,
What happens if you activate the parent theme?
September 9, 2019 at 9:59 am #1004996Mikabreaks totally page, even background image is gone.
September 9, 2019 at 10:02 am #1005003LeoStaffCustomer SupportHave you modified any of the free theme or premium plugins?
Can you disable all plugins except GP Premium first?
September 9, 2019 at 10:09 am #1005020MikaI had Classic editor and GB premium as plugin.
Generatepress free as main theme and child theme which I have added
extra css like background image and customize header.If I disable my custom theme, site is totally broken.
I have changed site width from 1200 px to 1430 px.
But that should not break footer as it count per width, right ?September 9, 2019 at 10:15 am #1005025LeoStaffCustomer SupportCan you make sure this is not the issue?
https://generatepress.com/forums/topic/my-site-has-broken-please-help-me/#post-957882September 9, 2019 at 10:26 am #1005044MikaI have already removed footer widgets and replace them one by one , no change.
GP Plugin, which gives premium generates grid for footer, right?
my custom functions.php is
<?php function wpb_image_editor_default_to_gd( $editors ) { $gd_editor = 'WP_Image_Editor_GD'; $editors = array_diff( $editors, array( $gd_editor ) ); array_unshift( $editors, $gd_editor ); return $editors; } add_filter( 'wp_image_editors', 'wpb_image_editor_default_to_gd' ); add_action( 'wp_enqueue_scripts', 'tuotantopalvelu_enqueue_styles' ); function tuotantopalvelu_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } /** * GeneratePress child theme functions and definitions. * * Add your custom PHP in this file. * Only edit this file if you have direct access to it on your server (to fix errors if they happen). */ function generatepress_child_enqueue_scripts() { if ( is_rtl() ) { wp_enqueue_style( 'generatepress-rtl', trailingslashit( get_template_directory_uri() ) . 'rtl.css' ); } } add_action( 'wp_enqueue_scripts', 'generatepress_child_enqueue_scripts', 100 );
September 9, 2019 at 10:34 am #1005057LeoStaffCustomer SupportSo is the issue fixed if you remove those functions temporarily?
It wasn’t broken before so something you’ve added is causing the issue.
Switching to the original parent theme should fix it though unless you’ve modified something in there as well.
September 9, 2019 at 10:40 am #1005071MikaI haven’t touch main theme or GP Premium plugin code.
I have replaced already Generatepress theme style.css from original zip.
Now I deleted functions.php from child theme, It did not fix footer area.September 9, 2019 at 10:45 am #1005079LeoStaffCustomer SupportThe default
grid-
CSS simply isn’t loading.Looks like the child theme header issue I mentioned above isn’t fixed either:
https://www.screencast.com/t/VpMf62gCThat part will need to match the default child theme as Tom mentioned here otherwise things will break:
https://generatepress.com/forums/topic/my-site-has-broken-please-help-me/#post-957882Can you switch to the parent theme and disable any custom functions added and let me have a look?
September 9, 2019 at 10:57 am #1005092MikaI have changed child theme name, but no change for footer.
Swicthed back to main theme.
September 9, 2019 at 11:02 am #1005096LeoStaffCustomer SupportCan you try re-installing the parent theme?
This file is simply not loading for you:
https://github.com/tomusborne/generatepress/blob/master/css/unsemantic-grid.min.cssIt’s like it doesn’t even exist.
September 9, 2019 at 11:11 am #1005114Mikacustomize -> General
– Combine CSS and
– Cache Dynamic CSSnow checked and problem fixed, now child-theme works again.
Thanks for your support.
September 9, 2019 at 11:14 am #1005118LeoStaffCustomer SupportThat option definitely shouldn’t break things but glad you found a solution.
-
AuthorPosts
- You must be logged in to reply to this topic.