Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1250661

    Hi, I’m trying to change the margin and the width of the 2/5 column, but only on post pages.
    I’ve tried the code below, but that doesn’t do anything. Adding !important doesn’t help either.

    .post div .av_two_fifth {
        margin-left: 4%;
        width:38.4%
    }

    I know I’m on the right track, since

    .post div .av_two_fifth {
        margin-left: 4%;
        width:38.4%
    }

    Does work, but on the homepage as well, and I want to leave that page alone.

    Any idea what I could change to get it to work?

    Best, Haiko.

    #1250941

    Hey rhae,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1250967

    Hello Victoria, see the private link. The first link is the home page, which I would like to keep intact, the second one is one of the post pages, which i would like to change (all the post pages, current and future ones).

    #1250988

    Hi rhae,

    Please try using code like this:

    
    .single.single-post div .av_two_fifth {
        margin-left: 4%;
        width:38.4%
    }
    

    Best regards,
    Victoria

    #1250993

    Great, that works! Thanks a lot!

    Best, Haiko.

    #1251254

    Hi Haiko,

    Great, I’m glad that Victoria could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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