Site logo

[Support request] How to center the facebook like button in my footer bar?

Home Forums Support [Support request] How to center the facebook like button in my footer bar?

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

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2146637
    Chandrasekhar

    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.

    #2146672
    David
    Staff
    Customer Support

    Hi there,

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

    #2147909
    Chandrasekhar

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

    #2148533
    David
    Staff
    Customer Support

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

    #2148854
    Chandrasekhar
    #2148888
    Fernando
    Customer Support

    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. 🙂

    #2151286
    Chandrasekhar

    Sorry it did not help.

    #2151303
    Ying
    Staff
    Customer Support

    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 🙂

    #2151312
    Chandrasekhar

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

    #2151315
    Leo
    Staff
    Customer Support

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

    Make sure to clear and disable LiteSpeed cache first.

    #2151333
    Chandrasekhar

    Deactivated lightspeed cache.

    #2151341
    Leo
    Staff
    Customer Support

    I don’t see the Fernando’s CSS being added.

    When I added using the browser inspector tool, the result is as expected:
    https://www.screencast.com/t/KNy3s0Qu

    #2151380
    Chandrasekhar
    #2151390
    Leo
    Staff
    Customer Support

    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.

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