How to align center (SKT Medical Pro)

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

This topic contains 7 replies, has 2 voices, and was last updated by  Forum Moderator 2 years, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #61329

    Sergey Petrov
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    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

    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 20557
    • Total: 20557
    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 Petrov
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: October 10, 2016

    Hi, Dave!

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

    Sincerely,
    Sergey

    #61596

    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 20557
    • Total: 20557
    Member since: August 16, 2013

    Hi Sergey,

    Kindly show us your website URL.

    Regards,
    Dave

    #61906

    Sergey Petrov
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    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

    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 20557
    • Total: 20557
    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 Petrov
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: October 10, 2016

    Hi, Dave!

    Your code is working!

    The problem is solved!

    Thank You very much!

    Sincerely,
    Sergey

    #62089

    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 20557
    • Total: 20557
    Member since: August 16, 2013

    If you found our service good kindly review us here:

    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.