Image on home cannot be aligned center

Home Forums All Other Themes Image on home cannot be aligned center

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #63025
    BasBas
    Member
    • Topics: 2
    • Replies: 11
    • Total: 13
    Member since: January 25, 2017

    Hi, in the theme options in SKT Black Pro I tried to insert an image (logo) on home using this code:
    alttekst
    It should be showed in Theme options > Homepage slider > Slide Image 1

    The logo will be showed, but it is aligned left. Howecome?
    Please see: http://taxinijmegen.com

    #63026
    BasBas
    Member
    • Topics: 2
    • Replies: 11
    • Total: 13
    Member since: January 25, 2017

    Or is there an other way to insert the image on top in the center?

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

    Hi,

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

    Add this code there:

    .top-bar img{position:relative; display:block; margin:0 auto;}

    Regards,
    Dave

    #63630
    BasBas
    Member
    • Topics: 2
    • Replies: 11
    • Total: 13
    Member since: January 25, 2017

    Great! On a desktop it is there now. But not in my responsive homepagine on my iPhone. What to I need to do?

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

    Hi,

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

    Add this code there:

    @media screen and (max-width:479px) {
    a.arrow-down, #slider .top-bar p { display:block;}
    .top-bar img { width:45%; height:auto;}
    #slider .top-bar p { font-size:15px; margin-top:-18px;}
    #slider .top-bar a.contact, .contact-banner a { margin-top:-8px;}
    }

    @media screen and (min-width:480px) and (max-width:767px) {
    a.arrow-down, #slider .top-bar p { display:block;}
    .top-bar img { width:50%; height:auto;}
    #slider .top-bar p { font-size:15px; margin-top:-10px;}
    #slider .top-bar a.contact, .contact-banner a { margin-top:0;}
    }

    Regards,
    Dave

    #63643
    BasBas
    Member
    • Topics: 2
    • Replies: 11
    • Total: 13
    Member since: January 25, 2017

    Thanks! It works!

    #63648
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30661
    • Total: 30661
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Image on home cannot be aligned center’ is closed to new replies.