-
AuthorPosts
-
July 15, 2018 at 12:52 am #985526
I’m wondering if it’s possible to set a boxed layout only on certain pages?
If so, is there CSS I can add for that?These would be Sales-Type pages, where I want to remove the Small Top Bar I have on other pages, keep the purple Logo Area (but remove the search bar), remove the Footer, Keep the Socket, but make it only have the Copyright/Disclaimer and not the bottom menu (like the other pages).
Is it possible to do what I’ve mentioned above with changes to CSS as well?
Will include site info in PC below.July 15, 2018 at 7:29 am #985599Hey Moondreamer21,
I think it should be possible, but you would have to add specific CSS for each page. Which pages are you looking to target?
Best regards,
RikardJuly 15, 2018 at 3:17 pm #985657Well it would be several and more to come in the future – can you tell me how I can target individual pages (where to find their ID number?) and what custom CSS I must use. I’ll post a link to one example of a page in the PC below.
Thanks!July 16, 2018 at 7:21 pm #986063July 21, 2018 at 6:47 pm #988184Thank you! Can you offer CSS to set a boxed layout to a specific page?
July 22, 2018 at 1:59 pm #988377Hi Moondreamer21,
Best regards,
VictoriaJuly 22, 2018 at 2:18 pm #988390My goal is to make it look like the page I’ll link to below in the PC. What’s the best way to go about that?
July 22, 2018 at 3:14 pm #988407Hi,
This css will give your page a boxed layout with the background-image:.html_entry_id_983 header#header,.html_entry_id_983 div#header_meta,.html_entry_id_983 div#header_main { max-width: 70% !important; margin: 0 auto; } .html_entry_id_983 #wrap_all { max-width: 70% !important; margin: 0px auto !important; } html.html_entry_id_983 { background: url("https://www.barrelracingtips.com/wp-content/themes/socrates/background-images/bodybg.jpg") #222222 !important; }
The only problem is that your header has too much in it for the width. You could change the “Page Attributes > Template” option for the page to “Blank – No Header, no Footer” and create a custom image to use at the top for your header, like your landing page example uses.
Or you could use this css to give the main body of your page a boxed layout and leave the header full width:.html_entry_id_983 #main { max-width: 70% !important; margin: 0px auto !important; } html.html_entry_id_983 { background: url("https://www.barrelracingtips.com/wp-content/themes/socrates/background-images/bodybg.jpg") #222222 !important; }
Best regards,
MikeJuly 24, 2018 at 11:54 pm #989445Thanks a TON Mike – you’re a genius! I have the page getting close to what I want.
When I choose the ‘no header, no footer’ option though, it takes away the boxed layout.
So I have chosen to not display the footer, and am using the second CSS code you gave me.
Now I just need to hide the purple logo area and the small top bar with the opt-in at the very top.
Is there a way to do that with CSS? Thanks again. :)
July 25, 2018 at 4:03 am #989471Hi,
Please try this css:#top.page-id-983 #header { display: none !important; }
Best regards,
MikeJuly 27, 2018 at 3:49 am #990527Thanks Mike, we are SO close!
Can you please look at the page – and let me know if there’s some code to hide the reddish leather strip at the top and the title at the top? Then bring the full-width image all the way to the top (so there’s no space above it)?
Thanks so much for your help! :)July 27, 2018 at 4:28 am #990534Hi,
Please try this code in the General Styling > Quick CSS field:#top.page-id-983 .container_wrap.title_container { display: none !important; } .html_header_top.html_header_sticky #top.page-id-983 #wrap_all #main { padding-top: 0px!important; }
Best regards,
MikeJuly 27, 2018 at 9:19 pm #990838That worked great, Mike – thank you again for all the great help! :)
July 28, 2018 at 2:44 am #990854Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Boxed Layout + Changes to Top Bar & Logo Area, etc.’ is closed to new replies.