• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

braderz31

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • March 22, 2015 at 6:18 am in reply to: Nav menu link not working #145185
    braderz31
    Member

    Hi Victor - thanks for checking.

    Bizarrely, I couldn't get those last two links working at all. I had to include a javascript snippet in the responsive-menu.js file to 'make' it work.

    I'm annoyed I had to hack it but I was running out of time.

    This is what I did in case anyone has this issue

    jQuery(".responsive-menu > .menu-item").click(function(event){
    		if (event.target !== this) {
    
    	    	var clickedUrl = event.target.href;
    	    	clickedUrl = clickedUrl.split('#')[0]
    
    	    	var currentUrl = window.location.href;
    	    	currentUrl = currentUrl.split('#')[0]
    
    	    	if (clickedUrl !== currentUrl) {
    	    		var t = event.target.getAttribute("target");
    	    		if (t == "_blank") {
    	    			if (window.location.pathname == '/') {
    	    				window.open(clickedUrl);
    	    			}
    	    		} else {
    	    			window.location.assign(clickedUrl);
    	    		}
    	    	}
    	    
    			return;
    		}
    
    		jQuery(this).find(".sub-menu:first").slideToggle(function() {
    		jQuery(this).parent().toggleClass("menu-open");
    		});
    	});
    March 4, 2015 at 1:35 am in reply to: Added div before content and sidebar is pushed down #143149
    braderz31
    Member

    Guys - thanks all for the help here.

    For anyone else trying to achieve this, you will notice your sidebar will now appear above the page content when viewed on a mobile device. I personally didn't want this so I tweaked the code to ensure the hooks are only actioned if the page is not viewed on a mobile device

    if ( ! wp_is_mobile() ) {
    	remove_action( 'genesis_after_content', 'genesis_get_sidebar' );
    	add_action( 'genesis_before_content', 'genesis_get_sidebar' );	
    }

    Hope this helps 🙂

    February 27, 2015 at 2:32 pm in reply to: Added div before content and sidebar is pushed down #142576
    braderz31
    Member

    Victor - you are a star!!!!

    Thank you, the code works.

    Can I just check that my code is correct... it works I just want to make sure I'm doing it right

    //Add Call To Action Box
    function cta_box() {
    	$cta = get_field('call_to_action');
    	echo '<div class="cta-box">'.$cta.'</div>';
    }
    add_action('genesis_before_content', 'cta_box');
    remove_action( 'genesis_after_content', 'genesis_get_sidebar' );
    add_action( 'genesis_before_content', 'genesis_get_sidebar' );	
    October 10, 2014 at 5:11 pm in reply to: Parallax Pro Background Image Responsiveness #127426
    braderz31
    Member

    Not sure if anyone still needs to do this but I was able to amend the positioning of my background images with this media query

    @media only screen and (max-width: 1140px) {
    
    	.home-section-1,
    	.home-section-3,
    	.home-section-5 {
    		background-size: cover;
    		background-position: left;
    		
    	}
    }

    Obviously you can amend the background size and position to suit.

    October 7, 2014 at 2:43 pm in reply to: Using genesis_before_entry hook on Education Pro homepage #127021
    braderz31
    Member

    Hey- Thanks for responding.

    I've just tried it and I get the same.

    The container is appearing on the homepage and the blog page.

    Any more thoughts?

    🙂

    October 2, 2014 at 10:09 am in reply to: Include featured image Education Pro #126558
    braderz31
    Member

    Oh man - I feel a bit stupid now!

    Thank you - I can't believe I tried to over complicate things (again)

    Cheers

    September 2, 2014 at 8:12 am in reply to: Ambience Pro and Genesis Connect For Woocommerce Plugin #122400
    braderz31
    Member

    Hi All,

    Just in case anyone else has this issue, I've finally managed to fix it and it was actually pretty simple.

    When I installed WooCommerce not all the woocommerce pages were automatically created. This is what the problem is.

    So to solve it, simply go the WooCommerce admin menu in the WordPress admin area. Select the 'System Status' menu option and then select the 'Tools' tab. Here you will see an option to 'Install WooCommerce Pages'

    Select this option so that all the pages are re-created. Next go to your WordPress pages and ensure they are all published.

    This solved my problem

    Thanks

    Brad

    August 26, 2014 at 3:49 pm in reply to: Ambience Pro and Genesis Connect For Woocommerce Plugin #121210
    braderz31
    Member

    Hi Tom - sorry I've been playing around with it.

    I'll reverted it back so you can see the issue.

    Thanks kellylise - I'll give that a go too

    Thanks

    August 26, 2014 at 1:35 pm in reply to: Ambience Pro and Genesis Connect For Woocommerce Plugin #121185
    braderz31
    Member

    Hey Tom

    Thanks so much for your reply.

    In answer to your questions:

    1) I've tried deactivating all plugins expect for Woocommerce and Genesis Connect but still get the same issue.
    2) I don't have any other woocommerce extensions
    3) All the woocommerce templates are working fine... it's the default wordpress template that no longer works (the 'About Us' page for example) when Genesis Connect is activated. In fact, it's only when I add the following to the functions.php file that causes the problem add_theme_support( 'genesis-connect-woocommerce' );

    I haven't yet inquired at http://my.studiopress.com/help/ but I shall do that now. - thanks 🙂

    I tried installing Genesis Style TRump but the problem still persists.

    Here is a link to the site click here It's the About page where all the content is now missing.

    Thanks

    July 23, 2014 at 3:10 pm in reply to: Remove post date from Ambience Pro theme #115591
    braderz31
    Member

    It was a bit of a hack and I'm not entirely content with it but I've achieved the desired result.

    I ended up using the CSS mentioned above to remove the time and date for the featured posts on the homepage.

    Then for the individual posts page I had to amend this function in the functions.php file:

    //* Customize the entry meta in the entry header
    add_filter( 'genesis_post_info', 'ambiance_single_post_info_filter' );
    function ambiance_single_post_info_filter( $post_info ) {
    
    	$post_info = '[post_date] [post_author_posts_link] [post_comments] [post_edit]';
    	return $post_info;
    
    }

    I amended it to this

    //* Customize the entry meta in the entry header
    add_filter( 'genesis_post_info', 'ambiance_single_post_info_filter' );
    function ambiance_single_post_info_filter( $post_info ) {
    
    	$post_info = '';
    	return $post_info;
    
    }

    If anyone knows of a cleaner way to do this, I'd be very grateful

    Thanks

    Brad

    July 23, 2014 at 2:37 pm in reply to: Remove post date from Ambience Pro theme #115581
    braderz31
    Member

    Just for info - I installed the plugin and it only allows you to remove post info from the post itself and not on the homepage featured image 🙁

    July 23, 2014 at 2:25 pm in reply to: Remove post date from Ambience Pro theme #115575
    braderz31
    Member

    I've just found this code from the studiopress code snippets but it doesn't seem to work

    //* Remove the post info function
    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    any ideas what else to try?

    If I have to resort to the plugin I will

    Thanks

    Brad

    July 23, 2014 at 2:03 pm in reply to: Remove post date from Ambience Pro theme #115570
    braderz31
    Member

    Ah the plugin - thank you.

    I'll try that

    July 23, 2014 at 2:01 pm in reply to: Remove post date from Ambience Pro theme #115568
    braderz31
    Member

    Hi

    Thanks for your reply but ideally I want to remove the markup completely (just for cleanliness) rather than hiding it from the browser with css.

    I guess I just need a function so I better go and find the genesis functions and hooks that are available.

    Thanks

    Brad

    July 8, 2014 at 6:51 am in reply to: Move Responsive menu icon Centric Pro Theme #113369
    braderz31
    Member

    That's great - thank you so much for your helpful response.

    Kind regards

    July 7, 2014 at 3:51 pm in reply to: Move Responsive menu icon Centric Pro Theme #113273
    braderz31
    Member

    I have already written a media query to move the menu to where it is now...

    Perhaps I wasn't clear enough in my previous post... I'm asking for advice on what further CSS I need to write in order to achieve what I've explained above

    July 2, 2014 at 2:15 am in reply to: Centric Pro – Header Overlapping Homepage Content on Mobile Devices #112597
    braderz31
    Member

    That's great - thank you very much 🙂

    June 30, 2014 at 10:25 am in reply to: Centric Pro – Header Overlapping Homepage Content on Mobile Devices #112106
    braderz31
    Member

    Hi Jan

    Thank you for your response.

    I would still like to keep the header fixed so that you can access the menu regardless of how far down the page you scroll, but the issues is, that the header does not stay minimised when you first view the site. Instead you have to scroll down slightly so that the header minimises and the scroll back up in order to read the main headline in the homepage content. It would be great if I could send a screenshot.

    I just wondered if there was a way to keep the header minimised on mobile devices or even just keep it minimised when the visitor first lands on the site

    Thanks

  • Author
    Posts
Viewing 18 posts - 1 through 18 (of 18 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble