Tagged: 

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

    Hi

    This code

    #top .iconbox_top {
        margin-top: -280px;
    }
    moves 2 icon boxes up the page as I need but I also need to identify this page 
    <code>.page-id-2439</code> so that it does not effect any other pages. But I cannot seem to combine them and make it work at the same time
    

    Thanks
    Richard

    #297718

    Hi Richard!

    Please use following code

    .page-id-2439 .iconbox_top {
        margin-top: -280px;
    }

    Regards,
    Yigit

    #297755

    Hi Yigit
    That’s what I have been using but it does not work…I thought it was just my coding!!
    Any ideas…cannot seem to find anything that may be stopping it…although my coding is really messy

    regards
    Richard

    #297757

    Hey Richard!

    Please use following code

    .page-id-2439 .iconbox {
    margin-top: -280px!important;
    }

    Cheers!
    Yigit

    #297973

    Hi Yigit

    Thanks for that…an “important” thing to remember
    Regards
    Richard

    #297974

    Hi!

    It would be better to wrap it inside media queries as following, not to mess up the look on mobile

    @media only screen and (min-width: 990px) {
    .page-id-2439 .iconbox {
    margin-top: -280px!important;
    }}

    Regards,
    Yigit

    #297988

    Hi Yigit
    Thanks again
    Regards
    Richard

    #297993

    Hey!

    You are welcome Richard, we are always glad to help! :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Moving Icon box up’ is closed to new replies.