[Resolved] Reduce the gap between three footer widgets

Home Forums Support [Resolved] Reduce the gap between three footer widgets

Home Forums Support Reduce the gap between three footer widgets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2261871
    Mike

    At the site provided in the private info box, I have three footer widgets that contain simple HTML. I don’t want to reveal the site publicly as it’s not launched yet.

    I want to reduce the spacing between the boxes so that one box is centered and the other two are closer to it, equally spaced. This needs to work on all screen resolutions where the footer doesn’t collapse to three widgets in a column.

    Note I don’t want to have text centered, that should stay left aligned to the bullets.

    I can’t see how to do this and none of the support articles I checked seem to match it.

    Any chance of some tips?

    thank you
    Mike

    The CSS for the footer widgets is like this:

    /* Footer */ 
    .footer-widgets .footer-widget-1 {
    	flex-basis: 33.333%;
    		 }
    
    .footer-widgets .footer-widget-2 {
    	flex-basis: 33.333%;
    }
    
    .footer-widgets .footer-widget-3 {
    	flex-basis: 33.333%;
    }
    
    .inside-footer-widgets .dashicons {
    	margin-top: 8px;
    	margin-right: 15px;
    	margin-left: 5px;
    }
    
    .inside-footer-widgets .widget.inner-padding.widget_block {
    	margin-bottom: 20px;
    }
    
    div.footer-widgets ul li {
    		margin-left: 30px;
        list-style-type: disc;
    		color: #c00000;
    }
    
    #2261884
    Fernando
    Customer Support

    Hi Mike,

    To clarify, are you wanting something like this: https://share.getcloudapp.com/jkuXLoYr

    If so, kindly modify your code to something like this:

    /* Footer */ 
    
    .inside-footer-widgets>div {
        flex: unset;
    }
    
    .inside-footer-widgets {
        justify-content: space-evenly;
    }
    
    .inside-footer-widgets .dashicons {
    	margin-top: 8px;
    	margin-right: 15px;
    	margin-left: 5px;
    }
    
    .inside-footer-widgets .widget.inner-padding.widget_block {
    	margin-bottom: 20px;
    }
    
    div.footer-widgets ul li {
    		margin-left: 30px;
        list-style-type: disc;
    		color: #c00000;
    }

    Hope this helps!

    #2262263
    Mike

    Hi Fernando, that’s great, thank you!

    Given the other CSS was site specific, I can imagine just this part will help others to create the effect of having the most optimum, centred approach to three equal sized footer widgets. Thanks for you expertise!

    /* Footer */ 
    
    .inside-footer-widgets>div {
        flex: unset;
    }
    
    .inside-footer-widgets {
        justify-content: space-evenly;
    }
    
    #2262767
    Fernando
    Customer Support

    You’re welcome Mike! Glad that worked!

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