• 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

Yossif

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 20 posts - 1 through 20 (of 21 total)
1 2 →
  • Author
    Posts
  • May 15, 2018 at 6:40 pm in reply to: Generate theme email signup banner is cut off? #219933
    Yossif
    Member

    Nevermind, got answer from the facebook group. Thanks!

    May 14, 2018 at 10:53 pm in reply to: Generate theme email signup banner is cut off? #219884
    Yossif
    Member

    Sorry I am not very familiar with CSS and I am using the Generate Box plugin, which limits how much I can put into it.

    How would I implement this using CSS or HTML coding?

    Thanks

    May 14, 2018 at 9:35 pm in reply to: Generate theme email signup banner is cut off? #219881
    Yossif
    Member

    Hi Anita, thanks for checking up on it. The main issue with the banner was indeed fixed but now I am having issues with the text going behind the picture. Any thoughts on how I can keep the text within a certain distance before wrapping back?

    Take a look at http://pleasantparcels.com/ to see what I mean or take a look at this picture.

    Thanks for your input!
    -Yossif

    February 14, 2016 at 1:42 am in reply to: How to remove action hooks on landing page? #179003
    Yossif
    Member

    Yes, I can edit the php easily enough, but what is the exact coding I would use for this? I barely know how to edit code, and making new code is foreign to me, so any help would really be great.

    Something like " <?php remove_action( $tag, $function_to_remove, $priority ); ?>" added to the end of the php? I have no idea. (got from this site)

    Thanks.

    February 13, 2016 at 1:30 am in reply to: How to remove action hooks on landing page? #178946
    Yossif
    Member

    I'm a total coding newbie, so I have no idea where to start. In this case, I wanted to just disable the "genesis_before_post_content" hook based on the page template landing.php. This is just to remove some ads and such.

    Any advice would be appreciated, I barely know anything about this stuff honestly.

    Thanks!

    January 19, 2015 at 12:43 pm in reply to: Collapsing mobile menus? #137936
    Yossif
    Member

    Bump? Can anyone help me out here?

    January 19, 2015 at 12:43 pm in reply to: Change container/padding size for landing page only? #137935
    Yossif
    Member

    Bump? Anyone??

    January 16, 2015 at 7:02 pm in reply to: Change container/padding size for landing page only? #137723
    Yossif
    Member

    Oh and I'm using the Generate theme if that helps.

    I'm thinking I need to use something like:

    .splash { width:910px; padding:30px 30px 0; }
    #content {
    	width: 910px;
    	margin: 0px auto 0px;

    or

    #wrap {
    	background: #FFFFFF;
    	width: 930px;
    	margin: 0px auto 0px;

    Thanks!

    January 16, 2015 at 9:24 am in reply to: How to make a very simple landing page? (Newbie help) #137667
    Yossif
    Member

    OK I feel dumb. There already was a pre-made landing page template with everything already programmed in!

    As for removing the ads, I found another thread with the similar issue, and this bit of code in the ghooks took care of it:

    <?php
     
    if( is_page_template( ‘landing.php’ ) )
            return;
      
    // add your adsense code for display
     
    ?>

    So there you have it, all is good to go. Thanks for help guys!
    -Yossif

    January 15, 2015 at 1:22 pm in reply to: How to make a very simple landing page? (Newbie help) #137589
    Yossif
    Member

    Yes that worked, Carlo. Thanks to you both for the help so far.

    However, I'm still unable to get rid of the secondary menu and the ghook-based ads. Is there something I can use to remove those or disable them within that same php?

    looks like the menu is something with "subnav" or "menu-secondary"?

    The ad that is in the way is on the "genesis_before_content_sidebar_wrap" Hook. Can I disable it somehow for this page?

    Here's the page in question again: http://angrynutrition.com/10-diet-myths-ebook/

    Thanks for the help!!
    -Yossif

    January 15, 2015 at 9:32 am in reply to: Collapsing mobile menus? #137541
    Yossif
    Member

    Hmm the plot thickens...

    OK So, still trying out Ozzy's version (#4), I changed them to #nav in the js:

    ( function( window, $, undefined ) {
    	'use strict';
     
    	$( '#nav' ).before( '<button class="menu-toggle" role="button" aria-pressed="false"></button>' ); // Add toggles to menus
    	$( '#nav .sub-menu' ).before( '<button class="sub-menu-toggle" role="button" aria-pressed="false"></button>' ); // Add toggles to sub menus
     
    	// Show/hide the navigation
    	$( '.menu-toggle, .sub-menu-toggle' ).on( 'click', function() {
    		var $this = $( this );
    		$this.attr( 'aria-pressed', function( index, value ) {
    			return 'false' === value ? 'true' : 'false';
    		});
     
    		$this.toggleClass( 'activated' );
    		$this.next( '#nav, .sub-menu' ).slideToggle( 'fast' );
     
    	});
     
    })( this, jQuery );

    NOW I'm finally getting the hamburger showing up, but the menu is expanded by default... so something is sorta working! Here's when the button is on/off:

    <button class="menu-toggle" role="button" aria-pressed="false"></button> 
    <button class="menu-toggle activated" role="button" aria-pressed="true"></button>

    When open, the code is:
    <div id="nav" style="display: block;"><div class="wrap"><ul id="menu-primary" class="menu genesis-nav-menu menu-primary"><li id="menu-item-1488" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1488"> (followed by all the links)

    When closed, it is:
    <div id="nav" style="display: none;"><div class="wrap"><ul id="menu-primary" class="menu genesis-nav-menu menu-primary"><li id="menu-item-1488" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1488">

    Strange that it's still called "nav" in this case vs. nav-primary or #nav? Then again, I barely know anything about coding, so any ideas are appreciated. Thanks for help so far!!
    -Yossif

    January 14, 2015 at 6:36 pm in reply to: How to make a very simple landing page? (Newbie help) #137498
    Yossif
    Member

    Yep, your code seems to have worked.

    It may not be ideal, but hey, if it works, it works.

    Let's see what Carlo might suggest for the rest of it, but at least we're a little closer now. I'm also getting more experienced as I mess around with this stuff... I'm not scared that a tiny little change will crash the site! (as it was doing earlier haha)

    Those are some impressive activities you got going, Dom! It's pretty similar to what I've done in the past, but I don't think I could do a Triathalon/duathlon... that's some hardcore stuff! Good for you man.

    -Yossif

    January 14, 2015 at 4:14 pm in reply to: Collapsing mobile menus? #137485
    Yossif
    Member

    OK I read through the posts on Ozzy's page and found that maybe changing the "nav" to ".nav-primary" may help to fix all this... but I'm a bit confused exactly which "nav" parts to change?

    Any thoughts?

    Keep in mind, I'm a coding newbie so any help is appreciated.
    -Yossif

    January 14, 2015 at 4:06 pm in reply to: Collapsing mobile menus? #137482
    Yossif
    Member

    Hey Christoph, thanks for the links...

    So I tried the first 3 and none seemed to work. I tried Ozzy's version and it sorta works, it just made it so the sub menus don't display...

    While that's an improvement, I'm still stuck on a miscoding somewhere.

    You can see it here: angrynutrition.com

    Any thoughts why it isn't working for the main menus?

    -Yossif

    January 14, 2015 at 11:46 am in reply to: How to make a very simple landing page? (Newbie help) #137457
    Yossif
    Member

    Sorry, page has been moved to here:

    diet myths ebook landing page

    -Yossif

    January 14, 2015 at 10:45 am in reply to: How to make a very simple landing page? (Newbie help) #137451
    Yossif
    Member

    OK, I managed to get rid of the generate box like Dom suggested. Thank you for that Dom!

    Here's the page in question.

    OK so now I'd like to remove the ghook-based ad's and the primary menu bar.

    I used the simple hooks plugin to add the ad's code, so do I need to go through and remove all the stuff like genesis_before_post_content Hook with thisdisplay: none; code? Or maybe there's something I can use to just disable all the hooks on this given page?

    Regarding the menu, based on the inspect code, would I alter something likeid="subnav or id="menu-secondary??

    Regarding what Carlo said, can stick that same bit of code into the page_sale.php and get the same thing as the style.css edit?

    Thanks for all the help again!
    -Yossif

    PS: Thanks for kind words, Dom. What's your favorite type of exercise?

    January 14, 2015 at 12:15 am in reply to: How to make a very simple landing page? (Newbie help) #137385
    Yossif
    Member

    Thanks, but I'm still really confused where to use this. I'm very very basic with coding, hell I don't know the difference between PHP and CSS yet... So please bear with me....

    Here's the contents of my generate box plugin, hopefully this has something I can change to use this command?
    http://pastebin.com/QPsDWyWq

    I tried to inspect the element, but wasn't sure what I was looking at once I was looking at the guts of the website. If you'd like to look at it yourself, the website is http://angrynutrition.com/

    I'm guessing something needs to be changed to

    if ( !is_page_template('page_sales.php') .generate-box {
    display: none;
    } )

    (I think? Sorry, still very new to all of this!)

    Thank you for your help so far!
    -Yossif

    January 13, 2015 at 10:39 am in reply to: How to make a very simple landing page? (Newbie help) #137322
    Yossif
    Member

    Thanks Dom, that seemed to do it...

    However, I'm still having issues with my various genesis hooks displaying ads as well as my generate box showing up. Is there a way to disable all of that within only this page?

    Maybe something withif ( !is_page_template('page_landing.php') ) or replace it with if ( !is_page_template('page_sales.php') )??

    Thanks!
    -Yossif

    January 8, 2015 at 8:36 pm in reply to: How to make a very simple landing page? (Newbie help) #136438
    Yossif
    Member

    I also found this page:

    Sales Page Template in Genesis

    I think it would be great if it looked like that but I have no idea how to make a .php file or how to apply it to my blog. Can anyone help me with making this?

    April 9, 2014 at 7:00 am in reply to: Generate theme newbie, few Questions #99329
    Yossif
    Member

    Sorry, new to the forums, do you mean I should submit a ticket for this or it was already answered somewhere else? (where are these help desks?)

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →

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