Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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.

    #985599

    Hey 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,
    Rikard

    #985657

    Well 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!

    #986063

    Hi,

    You can take a look here
    https://www.competethemes.com/blog/find-page-id/

    Best regards,
    Basilis

    #988184

    Thank you! Can you offer CSS to set a boxed layout to a specific page?

    #988377

    Hi Moondreamer21,

    Best regards,
    Victoria

    #988390

    My 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?

    #988407

    Hi,
    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,
    Mike

    #989445

    Thanks 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. :)

    #989471

    Hi,
    Please try this css:

    #top.page-id-983 #header {
    display: none !important;
    }

    Best regards,
    Mike

    #990527

    Thanks 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! :)

    #990534

    Hi,
    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,
    Mike

    #990838

    That worked great, Mike – thank you again for all the great help! :)

    #990854

    Hi,
    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

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Boxed Layout + Changes to Top Bar & Logo Area, etc.’ is closed to new replies.