Forum Replies Created
-
AuthorPosts
-
pjwdesign
MemberThanks for reply Brad. Perhaps dd not explain clearly. The 'archive intro' intro is for the whole page/category? I was hoping to make each post intro unique not just an extract from the post detail page. Hope that's clear
pjwdesign
MemberMany thanks Brad that's perfect.
pjwdesign
MemberThat's perfect - many thanks Davinder
pjwdesign
MemberThanks for reply - its not on home tho. Standard category listing page.
pjwdesign
MemberThank you for response - had tried this but odd its not working for me - the Child Theme is News Pro.
September 1, 2015 at 12:34 pm in reply to: Can a specific navigation link be targeted with a class? #164231pjwdesign
MemberThat's perfect many thanks.
pjwdesign
MemberCorrection..relative not absolute
.greenh {
position: relativepjwdesign
MemberThanks for feedback - odd I could not see itin FF and Chrome on a mac...however
I think I have fixed it.....I created a div
.greenh {
position: fixed;
height: 100px;
background-color:#B6BF00;
bottom: 0;
width: 100%;
}
Then inserted it in Front-page.phpgenesis_widget_area( 'front-page-1', array(
'before' => '<div id="front-page-1" class="front-page-1"><div class="image-section"><div class="flexible-widgets widget-area' . altitude_widget_area_class( 'front-page-1' ) . '"><div class="wrap">',
'after' => '</div></div></div><div class="greenh"></div></div>',pjwdesign
MemberThank you for taking the time - I have tried this and now added !important. Still no luck.
I have a test set up at - added that style inline.
pjwdesign
MemberThank you for such a quick response - simple and works perfectly.
pjwdesign
MemberJust to add this would be to have an archive of year for EACH category separately.
March 2, 2015 at 11:39 am in reply to: Education – remove posts or static page from home page #142873pjwdesign
MemberExcellent that worked. many thanks.
pjwdesign
MemberOk that worked many thanks
March 3, 2014 at 7:46 am in reply to: Enterprise – Pro – White border around Genesis responsive slider #93191pjwdesign
MemberPerfect. Many thanks, much appreciated.
pjwdesign
MemberThanks for patience Brad- I did try without the ! - will take a look at the suggested link
pjwdesign
MemberI did (see below) this in place now....again not showing on home page as well as pages/posts
//* Reposition the site description
remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
add_action( ‘genesis_before_content_sidebar_wrap’, ‘sp_custom_header’ );
function sp_custom_header() {if ( !is_front_page() ) {
?>
<h2 class="site-description" itemprop="description">Header here</h2>
<?php
}
}If it helps url of site is jrabutler.com. Many thanks
pjwdesign
MemberMany Thanks Brad getting nearer....Both !is_front_page() and !is_single() (used seperately) remove header from posts and pages which is great but also from the Home Page.....
//* Reposition the site description
remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
add_action( ‘genesis_before_content_sidebar_wrap’, ‘sp_custom_header’ );
function sp_custom_header() {if ( !is_front_page() ) {
?>
<h2 class="site-description" itemprop="description">Header Here</h2>
<?php
}
}pjwdesign
MemberThank you Brad I tried the following..(below)....this caused the pages to be blank (tagline still in posts) am I doing something wrong with the code? Many thanks
//* Reposition the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
add_action( 'genesis_before_content_sidebar_wrap', 'sp_custom_header' );
function sp_custom_header() {if (!is_page() || !single() ) {
?>
<h2 class="site-description" itemprop="description">Header Here</h2>
<?php
}
}pjwdesign
MemberUpdate - whilst trying to customise it I found the solution for pages but not posts {if (!is_page()) { ......How can I make this work for posts as well..many thanks
//* Reposition the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
add_action( 'genesis_before_content_sidebar_wrap', 'sp_custom_header' );
function sp_custom_header() {if (!is_page()) {
?>
<h2 class="site-description" itemprop="description">Good communication persuades. Great communication convinces.<br /> Invest in the best.</h2>
<?php
}
}pjwdesign
MemberThanks Brad I got there in the end - initially I just wanted to ad a <br> tag but good start.
//* Reposition the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
add_action( 'genesis_before_content_sidebar_wrap', 'sp_custom_header' );
function sp_custom_header() {
?>
<h2 class="site-description" itemprop="description">All great companies have a great story.... and know how to tell it. <br >We’ll help you tell yours.</h2>
<?php
} -
AuthorPosts