• Resolved mobilequeen

    (@mobilequeen)


    Hello, I have a OUR LOCATION text widget in the footer of my site.
    I would love to get rid of the white spaces in between the text and
    make the whole thing match up size wize to the Favorite Links text
    widget next to it.

    https://www.SeaBreezeCafeDepoeBay.com

    Thanks for your help!!
    Kathy ??

    • This topic was modified 7 years, 8 months ago by mobilequeen.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello mobilequeen,

    To make the change you want you can achieve this using custom css. Please add the following custom css to your site via either a child theme or directly from the theme options panel under General Settings -> Custom CSS:

    #text-2 img {
    height: 84px !important;
    width: 218px !important;
    }
    

    I hope the above was helpful.

    Kind regards,

    Manoj

    Hi @mobilequeen!

    A couple of notes on the code that @phpexpert21 has provided.

    First – try to avoid using !important in CSS whenever possible – it’s usually not needed (like here) and it can make it more difficult to troubleshoot your CSS down the road, since !important acts as an override. Generally it’s best to write more specific CSS if you need to, rather than rely on !important to force the code to work.

    Second – that code will make the image smaller to get the widgets to a more similar height – if you want to go that route, leave off the height value entirely. The theme has CSS in place to calculate the height automatically based on the width, which will look better than a manual height setting.

    From your post, it sounds like you’d like to decrease the space between the title (Our Location) and the address below it. Then make sure the two widgets are the same height.

    If I have that right, I’d recommend the following:

    #text-2 .widget-title {
        margin-bottom: 0;
    }
    @media screen and ( min-width: 768px) {
        #text-2, #text-5 {
            min-height: 356px;
        }
    }

    With the first style, we’re removing the margin from the bottom of the widget title to cut down on that space.

    With the second style, I looked at the height of the larger widget (on some screen sizes it’s taller than others, when the address runs to a second line) and I’ve set both widgets to be at least that tall – so they can grow it the need to, but based on current sizes they’ll always match up ??

    Thread Starter mobilequeen

    (@mobilequeen)

    Hi!
    Thanks for both suggestions, phpexpert21 and Chad. I went with the 2nd option and it worked great! Since I put this support request in, my client had me add 1 more link in the other widget and it still looks just fine.
    Thanks again for your help. I have learned so much from this forum!
    Kathy ??

    You’re welcome! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help removing white space in text footer widget please!’ is closed to new replies.