Site logo

Archived topic

First article on the full breadth of the blog

3 replies · Started by Horst on February 24, 2022

Viewing posts 1–4 of 4

Hi there,
can I display the first post over the entire width or only display the sidebar under this area?

I can't find a solution for this.
Thanks.

Many greetings
Horst

https://horstschulte.com

Hi Horst,

It's not very easy, but give this CSS a try:

@media (min-width: 1024px) {
div#right-sidebar .inside-right-sidebar {
    position: absolute;
    top: 600px;
}
main#main > .post:first-child {
    width: auto;
    max-width: 1380px;
    margin-right: -42%;
    padding-left: 20px;
}
div#right-sidebar {
    position: relative;
}
main#main > .post:first-child >.gb-container > .gb-inside-container {
    max-width: 1380px;
}
}

Hello Ying,
just like that. Super. Thank you for the reliable help as always.

Regards
Horst

You are welcome :)

This archived topic is closed to new replies.