This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

How to add a footer widget & still keep it sleek?

7 years ago · Last reply by Support Assistants 7 years ago

I made my site using the free page builder and Corp theme.
Facing a bit of problem with the footer. When I don’t add any widgets to it, it is nice and sleek. I like it. I would maybe like the easy ability to make it even smaller than the height it is now with 0 padding etc)

But the real problem arises when I add a widget to the footer.
For example, when I add the Google Analytics code: it increases the footer bar significantly in height,
See: https://ibb.co/gN7ZEo

Then if I add another widget it increases the height even more. Even though this second widget should ideally go into a separate column and so no need for height increase.
https://ibb.co/bAPs0T ; https://ibb.co/b9rGS8

If I add two widgets then it’s completely unviable!

Why aren’t the different widget contents being pushed into separate columns with footer height intact? Also, a widget content like Google Analytics code shouldn’t take up any space, so I should be able to add it there, without any design change at all. It’s what I do with my other blogs/sites.

My site: www.priyankadalal.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. Support Assistants 7 years, 8 months ago

    Hi Priyanka

    Thanks for posting.

    Analytics tracking code should ideally be added using a plugin https://wordpress.org/plugins/insert-headers-and-footers/.

    Widgets added to the footer widget area should be forming equal width columns. For example, the demo has four widgets and four columns.

    If you can show us what’s happening live on your site we can try to assist further.

  2. Priyanka Dalal 7 years, 7 months ago

    Hey there,

    Sorry for the delayed response. How do I show what’s happening with my site live? Do you want to create a video?
    I followed the typical route to add footer widgets, Appearances>Customize>Widgets>Footer
    Or Appearances>Widget and then drag and drop the widgets into footer section.

    Both places it clearly says, “A column will be automatically assigned to each widget inserted” but somehow the column doesn’t get created. Instead, the widgets keep stacking up.

    BTW I moved my Google Analytics code to the plugin you mentioned. That definitely seems a better option than adding a custom HTML widget :)

  3. Support Assistants 7 years, 7 months ago

    If possible, please could you add footer widgets so we can see the problem live on your site and inspect the code. Thanks.

  4. Priyanka Dalal 7 years, 7 months ago

    Ok, I have now added a few widgets in the footer. They are now spaced horizontally in one row, separate columns. So it seems the problem is partly solved. I am not sure how it got solved though, until yesterday, each widget was stacking one on other… Maybe the GA code in the footer was causing the issue.

    However, there is still a huge space between the footer widgets and bottom bar. How can I remove this?
    I have put “Footer widget area top and bottom padding” as 0px in Customize section.

    Warm Regards,
    Priyanka

  5. Support Assistants 7 years, 7 months ago

    Thanks. You can try adding the following to Customize > Additional CSS:

    .site-footer .widgets .widget {
    	margin-bottom: 0;
    }

    You can also change 0 to 10px for example.

  6. Priyanka Dalal 7 years, 7 months ago

    Great, thanks.
    That sorts it. I may have more Qs about changing margins/padding in footer widget, but will start a new thread if needed. Anyway, currently I don’t plan to work on it.

    Appreciate the quick turnaround.

    Warm Regards,
    Priyanka

  7. Support Assistants 7 years, 7 months ago

    Glad to hear that helped. All the best :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread