How to align center (SKT Medical Pro)

Home Forums All Other Themes How to align center (SKT Medical Pro)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #61329
    Sergey PetrovSergey Petrov
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: October 10, 2016

    Hi!

    I have the theme SKT Medical Pro. The block “Our Services” contains 7 elements.
    The block “Our Services” aligned to the left.

    So, if there are only 6 elements, the block “Our Services” looks bad.

    I want to align to center the elements of block “Our Services”.
    How to do it?

    Sincerely,
    Sergey

    #61453
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30588
    • Total: 30588
    Member since: August 16, 2013

    Hi Sergey,

    Kindly go to Appearance>>Theme Options>>Basic Settings>>Custom CSS Box:

    Add this code there:

    #ourServices { margin:0 auto; display:table; width:auto;}
    #ourServices .services-list { display:table; margin:40px 30px 0 0;}

    Regards,
    Dave

    #61555
    Sergey PetrovSergey Petrov
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: October 10, 2016

    Hi, Dave!

    I placed Your code in the Custom CSS Box, but there is no change.

    Sincerely,
    Sergey

    #61596
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30588
    • Total: 30588
    Member since: August 16, 2013

    Hi Sergey,

    Kindly show us your website URL.

    Regards,
    Dave

    #61906
    Sergey PetrovSergey Petrov
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: October 10, 2016

    Hi, Dave!

    Somehow I never got notification of Your message. Sorry.

    My URL: http://diamed-profi.ru/.

    Please, help me to solve a problem.

    Sincerely,
    Sergey

    #61978
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30588
    • Total: 30588
    Member since: August 16, 2013

    Hi Sergey,

    Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box

    Add this code there:

    #ourServices{text-align:center;}
    #ourServices .services-list {display:inline-block;float:none; vertical-align:top;}

    Regards,
    Dave

    #62061
    Sergey PetrovSergey Petrov
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: October 10, 2016

    Hi, Dave!

    Your code is working!

    The problem is solved!

    Thank You very much!

    Sincerely,
    Sergey

    #62089
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30588
    • Total: 30588
    Member since: August 16, 2013

    If you found our service good kindly review us here:
    https://www.sktthemes.org/forums/topic/reviews-and-testimonials/

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to align center (SKT Medical Pro)’ is closed to new replies.