Archived topic
Move Blog container further Up
5 replies · Started by Kle on June 2, 2018
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.
Hi there,
You could do this:
@media (min-width: 769px) {
body:not(.page) #main .inside-article {
top:-20px;
position:relative;
}
}
Let me know :)
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.
I'm not too sure what you mean. Perhaps try targeting #main instead of #main .inside-article?
That did it,
Thank you Tom!!
You're welcome :)