Shortcode in Static Block not centering - by kjhawayek

This topic has 8 replies, 3 voices, and was last updated 9 years ago ago by Eva Kemp

  • Avatar: kjhawayek
    kjhawayek
    Participant
    March 20, 2015 at 16:43

    I am using a shortcode to display social icons in my footer but I can not get them to align center. Please advise.

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 20, 2015 at 17:24

    Hello,

    Please try to add this code in custom.css file:

    .address-company .sfsi_wicons {
      margin-left: 14px !important;
    }

    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 20, 2015 at 17:24

    Please provide us with wp-admin credentials.

    With best regards
    Brian Johnson

    Avatar: kjhawayek
    kjhawayek
    Participant
    March 20, 2015 at 20:48

    The custom css did the trick. Thanks, great support as always!

    Avatar: kjhawayek
    kjhawayek
    Participant
    March 20, 2015 at 21:07

    Actually, the custom css only worked for desktop – it did not work on the responsive mobile site. Any other suggestions?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 21, 2015 at 11:01

    Hello,

    Please use this code as well:

    @media (max-width: 480px) {.address-company .sfsi_wicons {
      margin-left: 30px;
    }}

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: kjhawayek
    kjhawayek
    Participant
    March 21, 2015 at 16:13

    That did not work. Is there a way for me to send you a screenshot of the mobile version?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 23, 2015 at 15:54

    Hello,

    You can upload screenshot image to some image storage, for example http://imgur.com/ , and provide us with a link.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 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.