Right column in sub-pages


#1

Hi,

how can I remove right column in sub-pages? Screenshot below.


#2

Hi,

You can try something like this in a custom CSS plugin, though I’m not sure to what pages you’re referring to:


.page .content-area {
       width: 100%;
}
.page .widget-area {
       display: none;
}


#3

Perfect :slight_smile:


#4

@vlad the code you have shown above in that .page must be my page name??
And can i add them in header script using Insert haeder and footer plugin?


#5

Nope, .page is a class that WP adds to all pages (the ones added from Pages, not posts or anything else). I’m not familiar with that plugin, I recommend this for custom CSS.


#6

Oh okay…
Thanks.