New template
-
Mod
What’s a “squeeze page”?
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.
ModHmmm…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;}
Do you have any post about how to create a child theme?
https://forum.graphene-theme.com/graphene-support/how-to-modify-the-theme-using-a-child-theme
AdminQuote:[…] but all pages have change.Changed how?
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)
- 1
- 2
- You must be logged in to reply to this topic.