Complete theme – how to center align Featured Boxes

Home Forums All Other Themes Complete theme – how to center align Featured Boxes

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #55502
    Pui ChingPui Ching
    Member
    • Topics: 5
    • Replies: 7
    • Total: 12
    Member since: November 29, 2016

    URL is http://lowenpianohouse.com/wp/v4

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

    Hi,

    Kindly go to Appearance>>Customize>>Basic>>Custom CSS Box

    Add this code there:

    .site_boxed .fblock4 { width:22.70%}
    .site_boxed .featured_area .sectionrow { margin:0;}

    Regards,
    Dave

    #55539
    Pui ChingPui Ching
    Member
    • Topics: 5
    • Replies: 7
    • Total: 12
    Member since: November 29, 2016

    Thanks for the prompt response.

    Unfortunately the provided solution only works for Desktop layout; the 4 boxes would be squished together when viewing on a small screen such as mobile phone. Is there another cure?

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

    Kindly add this code in custom css box:

    @media screen and (max-width:767px) {
    .site_boxed .fblock4, .boxpattern-2 { width:100%;}
    .servicerow { margin:0;}
    }

    Regards,
    Dave

    #55543
    Pui ChingPui Ching
    Member
    • Topics: 5
    • Replies: 7
    • Total: 12
    Member since: November 29, 2016

    Thanks but they become left aligned again when viewing in desktop mode?

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

    Did you added both code?

    .site_boxed .fblock4 { width:22.70%}
    .site_boxed .featured_area .sectionrow { margin:0;}
    @media screen and (max-width:767px) {
    .site_boxed .fblock4, .boxpattern-2 { width:100%;}
    .servicerow { margin:0;}
    }

    Regards,
    Dave

    #55770
    Pui ChingPui Ching
    Member
    • Topics: 5
    • Replies: 7
    • Total: 12
    Member since: November 29, 2016

    Yes both code added and the boxes still aligned to the left in desktop view

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

    Hi Pui,

    Add this code in custom css box:

    .fblock4 { width:22.70%}
    .site_boxed .featured_area .sectionrow { margin:0;}
    @media screen and (max-width:767px) {
    .fblock4, .boxpattern-2 { width:100%;}
    .servicerow { margin:0;}
    }

    Regards,
    Dave

    #55848
    Pui ChingPui Ching
    Member
    • Topics: 5
    • Replies: 7
    • Total: 12
    Member since: November 29, 2016

    Thank you Dave it finally worked.

    I also noticed that the Flipboxes are aligned a little off center to the right. Is there a way to make them perfectly centered?

    #55866
    Sonnal S SinhaSonnal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6964
    • Total: 6974
    Member since: June 12, 2013

    Kindly go to Appearance>>Customize>>Scroll down to left bottom to find Custom CSS and paste there:

    Add this code there:

    .flipcard.h:nth-child(2) {margin-left:-10px !important;}

    @media screen and (max-width:1169px) {
    .flipcard.h:nth-child(2) {margin-left:0 !important;}
    }

    Regards,
    Shri

    #55897
    Pui ChingPui Ching
    Member
    • Topics: 5
    • Replies: 7
    • Total: 12
    Member since: November 29, 2016

    It worked. Thank you Shri!

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

    🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Complete theme – how to center align Featured Boxes’ is closed to new replies.