How to center widgets on prefooter row - by omthreetimes

This topic has 4 replies, 2 voices, and was last updated 7 years, 2 months ago ago by Rose Tyler

  • Avatar: omthreetimes
    omthreetimes
    Participant
    September 21, 2017 at 16:28

    I did put Facebook Page Plugin WIDGET by Jetpack into my site prefooter row, but it has maximum width of 500px. Therefore it aligns to the left but i need it to be aligned to CENTER and the TITLE as well.

    Option 2: Can I hide the widget on desktop and show on mobile only?

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 22, 2017 at 08:06

    Hello,

    Please add this code in custom.css of parent theme or in style.css file of your child theme:

    #facebook-likebox-5 {
        text-align: center;
        display: none;
    }
    @media only screen and (max-width: 480px) {  
        #facebook-likebox-5 {display: block;}
    }

    Regards

    Avatar: omthreetimes
    omthreetimes
    Participant
    September 22, 2017 at 10:19

    Thank you! Very satisfied with the support.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 22, 2017 at 10:21

    You’re welcome! 🙂

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.