Changing post width


#1

Hello Vlad,

How can I change the post width? Thanks in advance for your help


#2

Hello,

To full width or what exactly? Changing the post width will also mean changing the sidebar width so you post can fit.


#3

Hi Vlad,
Yes, to full width since I won’t use sidebar.


#4

Add this to a custom CSS plugin please:


.content-area {
    width: 100%;
}
.widget-area {
   display: none;
}
@media only screen and (max-width: 1199px) {
   .content-area {
      width: 100%;
   }
}

This will make all your posts and pages full width.


#5

Awesome! Thanks a lot Vlad. And just in case if I need to put a widget and sidebar in 25% or 1/4 page width?


#6

It would turn into this:


.content-area {
    width: 75%;
}
.widget-area {
   width: 25%;
}
@media only screen and (max-width: 1199px) {
   .content-area {
      width: 75%;
   }
}


#7

Appreciate it Vlad!