-
AuthorPosts
-
June 13, 2017 at 11:41 pm #807678
Hi!
I am building my blog page using the masonry gallery : http://unpackdesign.com.br/blog2/
I would like for this only page to be with 100% width, but to keep the side bar in the sabe proportions. I tried this code, but it did not work:
.page-id-1260 .container {
max-width: 100%;
}Can you help me?
June 13, 2017 at 11:52 pm #807680Hey michellerunge,
What do you mean 100% width with the same sidebar proportion? Are you trying to shrink the sidebar size?
Best regards,
Jordan ShannonJune 14, 2017 at 12:41 am #807688Hi Jordan!
I did a photoshop print to show you. I am not very good to explain this things in english, sorry…
This is how it is now: https://drive.google.com/file/d/0B9Cl0WGu5B3BXzhjOV9FUVY3eTA/view?usp=sharing
This is how I am trying to do: https://drive.google.com/file/d/0B9Cl0WGu5B3BSXFsczcyZ1Vick0/view?usp=sharingAs you can see, this page is fullwidh and the sidebar remained with the same size. I just want it to be fullwidth. =)
Thank you one more time for all the help!
June 14, 2017 at 2:02 am #807702Hi,
To make a page full width while keeping the sidebar please use the below code.
This code will work only for the example page. In order to target an individual page please use the unique page id class name. To find out the page id class name for a WordPress page right click and inspect the body tag..responsive .page-id-1260 .container { max-width: 100%!important; padding: 0 25px!important; }Best regards,
VinayJune 14, 2017 at 2:24 pm #808002Hi Vinay! Thank you for the code!
It worked! But the sidebar is bigger…. http://unpackdesign.com.br/blog2/
Can I control the sidebar width on this page?
Thank you!
June 14, 2017 at 2:33 pm #808006Hi,
Add the following to quick css:
main.template-page.content.av-content-small.units{ width:80%!important; }You can adjust the percentage to whatever is appropriate.
Best regards,
Jordan ShannonJune 14, 2017 at 4:10 pm #808066Hi Jordan!
It works! Thank you so much!
June 14, 2017 at 4:24 pm #808072Hi,
No problem at all. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘make one page with sidebar fullwidth’ is closed to new replies.
