Landing page full wide

Viewing 3 posts - 1 through 3 (of 3 total)
  • #14604
    Myleene
    Participant

    I want to built a landing page in full wide. i don’t want the site “boxed”
    Without :
    -margin (right and left in grey)
    -Header (title, search, media icons, lider).
    -footer
    i want to display the only content area.

    What is the best way to do this ?

    I tried somers tricks, I manage to do it in css adding in the main content area
    [ style type=”text/css”]
    Vestibulum egestas congue congue.
    Nam scelerisque convallis felis in ultricies.
    In ut varius eros.
    fringilla ac lectus…
    [ /style ]

    But on mobile phone the responsivennes of the site have strange behaviour. To solve this i want to load the css in header rather than in the page. So question 2 is how to apply a custom css file for only my pinboard landing page template ? or i will not find answer modifying this ?

    #14612
    Daniel Tara
    Keymaster

    Any static page has a unique class assigned to the <body> tag which looks like page-id-xx where xx is the id of the page. You can prefix any rules specific to that page with the unique class. e.g.:

    .page-id-xx .header {
    	width: 100%;
    }
    #14689
    Myleene
    Participant

    thx for the tip. this did not fix my problem but it’s proper using this.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.