[Resolved] Even spacing between footer widgets – Catalyst theme

Home Forums Support [Resolved] Even spacing between footer widgets – Catalyst theme

Home Forums Support Even spacing between footer widgets – Catalyst theme

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #986977
    Anonymous

    Hi there,

    In attempting to add a fourth widget to the footer for the Catalyst theme, the spacing between the third widget and the fourth widget isn’t similar to the first, second and third. There doesn’t appear to the option to space them evenly.

    Updating the footer padding doesn’t work.

    Below are screenshots of the widgets.

    Footer widgets

    #986978
    Anonymous

    Although the image was uploaded, it doesn’t appear. The screenshot can also be referenced at – https://imgur.com/a/QD8t8gX

    #987108
    David
    Staff
    Customer Support

    Hi there,

    the widget areas are spaced evenly, it just the content is varying in width.
    If you want to share a link to the site i can take a look and help you space them differently.

    #987396
    Anonymous

    Thanks David. The site is running internally so it isn’t accessible externally at the moment. If you can guide me with the changes I need to consider, that would be awesome. Thanks.

    #987404
    Leo
    Staff
    Customer Support

    It’s pretty tough to solve this issue without looking at the issue live as we will need to adjust with some CSS.

    You could also consider using a narrower width for the second widget:
    https://docs.generatepress.com/article/footer-widgets/#choosing-different-widths-for-each-widget-area

    If not any chance we can revisit this when we can look at this issue live?

    #987434
    Anonymous

    Thanks Leo. I’ll give it a go. Does the code snippet below need to be added to the theme’s function PHP file?

    add_filter( 'generate_footer_widget_1_width', function() {
        return '80';
    } );
    add_filter( 'generate_footer_widget_2_width', function() {
        return '20';
    } );
    #987467
    Leo
    Staff
    Customer Support

    Not the parent theme’s function.php.

    Try one of these methods: https://docs.generatepress.com/article/adding-php/

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.