New template

  • Txiqui7

    #4144

    I´d like to have a new templante from “two columns, side bar on the right” without menu and header to make squeeze pages. Is it able to do?

    Mod

    Kenneth John Odle

    #23390

    What’s a “squeeze page”?

    Txiqui7

    #23391

    I mean, a landing page. Right now i´ve done this landing page with a plugin… but i´d like to do it with template.

    http://tomjim.com

    Mod

    Kenneth John Odle

    #23392

    Hmmm…there are probably more elegant way to do this, but here’s a quick thought:

    You can hide anything on any page if you know that page’s unique id. Read this:

    http://blog.kjodle.net/2012/02/24/styling-wordpress-posts-pages-archives-and-home-pages-by-class/

    Then you would use code like this in your child theme style sheet or custom CSS:

    .page-id-964 #header, .page-id-964 #footer, .page-id-964 #sidebar {display: none;}

    Txiqui7

    #23393

    Thanks indeed Kenneth, i´ll try to do it.

    Txiqui7

    #23394

    Do you have any post about how to create a child theme?

    Anonymous

    #23395

    Txiqui7

    #23396

    Ok, i´ve done how you say. I mean, i created child style.ccs and have put it into graphene child folder. AFter this i have actived the child theme, but all pages have change. Why?

    Admin

    Syahir Hakim

    #23397
    Quote:
    […] but all pages have change.

    Changed how?

    Txiqui7

    #23398

    this is text i wrote at style.css

    /*

    Theme Name: Graphene Child

    Theme URI: http://example.com/

    Description: Child theme for the Graphene theme

    Author: Your name here

    Author URI: http://example.com/about/

    Template: graphene

    Version: 1.0

    */

    @import url(“../graphene/style.css”);

    /*

    .page-id-312 #header {display: none;},

    .page-id-312 #footer {display: none;},

    */

    this page 312: http://tomjim.com/?page_id=312

    There you can see menu bar and check other pages. Have the same changes.

Viewing 10 posts - 1 through 10 (of 11 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!