Site logo

Archived topic

How to center the facebook like button in my footer bar?

13 replies · Started by Chandrasekhar on March 8, 2022

Viewing posts 1–14 of 14

Hello friends,
My site is https://hospitalistx.com/. I would like to request you to help me with making my Facebook Like button in my footer bar in the center rather than towards left.
Thanks in advance.

Hi there,

is there any page or post i should be looking at? As i do not see a Facebook like footer bar

There is a facebook like button in footer area. Do you see it?

No - can you share a link to where I can see it and screenshot of it ?

Hi Chandrasekhar,

If there are no settings with regards to the alignment of this Block in the plugin you used for this, here is a CSS code you may try:

html#facebook table.uiGrid._51mz {
    display: flex;
    justify-content: center;
}

Here is an article with regards to adding CSS: https://docs.generatepress.com/article/adding-css/#additional-css

Adding it through additional CSS should work.

Hope this helps! Kindly let us know how it goes. :)

Sorry it did not help.

Hi there,

The CSS Fernando provided should work, I'm not seeing the CSS has been added to your site, can you make sure cache is all cleared?

Let me know :)

I added and deleted thinking that it did not help. I added again. I am not sure how to clear the cache.

Please leave the code in so we can see why it doesn't work.

Make sure to clear and disable LiteSpeed cache first.

Deactivated lightspeed cache.

I'm simply not seeing the code added on the live site - this isn't something we can control.

I'm seeing some sort of caching enabled as well - please disable all plugins for us to take a look.

If it still doesn't work then I would recommend raising the issue with the Facebook like plugin support.

This archived topic is closed to new replies.