Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] Move Blog container further Up

Home Forums Support [Resolved] Move Blog container further Up

Home Forums Support Move Blog container further Up

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

    Hi there,

    I would like to get the Blog container position further Up than what the customizer settings allows me to.

    With this css code:

    #main .inside-article{
    	top:-20px;
    	position:relative;
    }

    I can do it but it also sends up all the Pages containers and I only want to do this on the Blog related content: blog posts, single posts, categories, tags, etc.

    How can I do it?

    P.S. I want this change only to apply to the desktop view not the mobile.

    Thank you.

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #590316
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You could do this:

    @media (min-width: 769px) {
        body:not(.page) #main .inside-article {
    	top:-20px;
    	position:relative;
        }
    }

    Let me know ๐Ÿ™‚

    #590337
    Kle

    Thank you Tom, almost there: )

    When I go to any of my categories/tags they level at the position of the pages container. Can I include the categories and tags into the css so they appear at the same height as the blog container and single posts?

    The title of the Categories/Tags is what stays at the same height as the pages titles, and just noticed that because of that they overlap with the titles of the posts.

    #590512
    Tom
    Lead Developer
    Lead Developer

    I’m not too sure what you mean. Perhaps try targeting #main instead of #main .inside-article?

    #590525
    Kle

    That did it,

    Thank you Tom!!

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