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

    Hi there, the solution worked from this post: https://kriesi.at/support/topic/icon-boxes-of-equal-height/

    However, I want to change the background colour to #f8f8f8. When I do, it doesn’t cover the whole element (see screenshot here) https://imgur.com/a/SGUbHQH

    Thanks!

    #1024527

    Hey Deanna,
    I tried to take a look, but I could only see the maintenance page, please provide a login in the Private Content area.

    Best regards,
    Mike

    #1024590
    This reply has been marked as private.
    #1025192

    Hi,

    Check it out – I have done the change for you :)

    Best regards,
    Basilis

    #1025624

    Hi Basilis,

    Unfortunately I still see it like this new screen shot: https://imgur.com/a/ADQQVbE

    I want to make the #f8f8f8 backgrounds all the same height.

    #1025775

    Hi,
    I took a look at your page and a found a interesting problem, you are using equal height columns, but you are adding a background color only to the icon-box element inside of the columns.
    If you look at your columns closely you will see a 1px black border drawn around the icon-boxes, which is equal height.
    If we give the columns a background color this would be solved, but it seems you like the way the icon sticks out of the box on top.
    So I added a custom class to the grid row with the 3 columns “equal-icon-box” and a custom class to the cell above them “top-height” and then this css:

    @media only screen and (min-width: 767px) { 
    #top.page-id-312 .equal-icon-box .av_one_third {
    padding-top: 0px !important;
    background-color: #f8f8f8 !important;
    }
    #top.page-id-312 .top-height {
    margin-bottom: 100px !important; 
    }
    }

    2018-10-23-223337
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1025776

    Hi Mike,

    Amazing, thank you!

    Quick question, how can I apply to all pages, not just page id 312?

    #1025778

    Hi,
    You could remove the page id from the css and add the same classes to the elements on the other pages, if you take a look at the back end for those two classes on that page, you’ll see how to model it for your other pages. Let us know if you have any trouble, and I’ll try to explain better with screenshots.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.