• 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

bburro

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 25 total)
1 2 →
  • Author
    Posts
  • August 6, 2016 at 6:05 pm in reply to: conditional secondary menu #190851
    bburro
    Member

    It looks like what I want is more like the version on your revisited page, except I want default to be NO SECONDARY NAV.

    What variable are you passing as Menu1, Menu2? Is that the ID?
    How do I assign multiple page IDs? separate them by a comma?
    How do I default to where if none of the IDs I have selected, then no secondary nav?

    The following is the code from your site I am referring to, just to make sure we are on the same page.

    Thanks again!

    //* When a new page is selected from the primary menu,
    //* execute the change_secondary_menu function
    add_action( 'template_redirect', 'change_secondary_menu' );
    function change_secondary_menu() {
     
        //* Do nothing if menu not supported
        if ( ! genesis_nav_menu_supported( 'secondary' ) )
            return;
     
        add_filter( 'wp_nav_menu_args', 'choose_secondary_nav_menu' );
     
    }
     
    function choose_secondary_nav_menu( $args ) {
     
        if ( $args['theme_location'] == 'secondary' ) {
     
            //* default secondary menu
            $args['menu'] = 'Menu1';
     
            if( is_page( 37 ) ) {
                $args['menu'] = 'Menu2';
            }
     
            if( is_page( 39 ) ) {
                $args['menu'] = 'Menu3';
            }
     
        }
        return $args;
    }
    August 6, 2016 at 5:33 pm in reply to: conditional secondary menu #190849
    bburro
    Member

    My coding skills are meager at best. One of the menus I want to use has an ID of menu-hydrovac-menu.

    What would the code be to use that menu on pages with IDs of 1,4 &5?

    I can take that and create the other blocks.

    Also, what would the last part be that says "otherwise don't display a secondary menu"?

    Thanks again for the help!

    August 6, 2016 at 5:23 pm in reply to: conditional secondary menu #190847
    bburro
    Member

    Victor- I was looking at the revisited version of your page and my coding skills weren't up to connecting the dots.-

    Let me give this one a go. Thanks!

    July 17, 2016 at 1:40 pm in reply to: Duplicate home pages? #189708
    bburro
    Member

    Thank you for your response. I changed it. Thank you.

    May 26, 2016 at 7:30 am in reply to: How to Make a Portfolio #186314
    bburro
    Member

    I thought so- I mean I saw the "Portfolio" staring at me. Just never used it. What is the difference between a portfolio and an image gallery?

    #googlingit

    Thanks!

    May 11, 2016 at 8:14 pm in reply to: how to tweak the featured page widget? #185430
    bburro
    Member

    Brad- so the featured page widget is referring to a pages that Go "Title" (h1) then a full-width image beneath that, followed by a sub title (h2) then the paragraph. The widget pulls the first however many character you specify from the post.

    So, basically my sub-title flows right into my paragraph.

    I may just have to add a colon after the h2 tag. I was hoping there was a way to make them bold-- I guess that requires a filter...?

    Thanks again.

    May 3, 2016 at 6:46 pm in reply to: Uncaught ReferenceError: jQuery is not defined #184928
    bburro
    Member

    Hey Victor- thanks for your reply. It looks like my W3 Cache Plugin is the culprit. Thanks.

    April 26, 2016 at 9:59 am in reply to: Parallax Pro- php error #184455
    bburro
    Member

    It took me a minute-- but I found it...

    I tried to mark the thread as resolved. Thanks!

    March 29, 2016 at 1:07 pm in reply to: Parallax Pro- Set screen height for slider #182475
    bburro
    Member

    Fair enough. Another question-- why isn't my menu sticky like it is in the demo?

    December 8, 2015 at 2:20 pm in reply to: Hook Help #173229
    bburro
    Member

    Victor-- Thank you for your help. I understand what you are saying with the pseudo elements-- what I am trying to remove is the border-bottom attribute that follows each widget in the sidebar. After adding the 'remove markup' snippet you shared with me, I see that this can also accomplish my goal for the sidebar widgets (once I find the right snippet)-- it removed the border attribute from the bottom of each post, which is something I also was trying to do.

    Having said that, the "filed under XXXXX" element is still showing up after each post, which is my final objective. What am I missing?

    Once again, thank you so much for your time!

    I can remove the CSS from the live site that is hiding these elements if that will make things easier.

    --Blake

    November 5, 2015 at 9:18 am in reply to: Tabs/Slider Advice! #170221
    bburro
    Member

    @braddalton-- That looks like an awesome plugin. Thanks!

    November 3, 2015 at 12:23 pm in reply to: Modern Portfolio Pro- remove post info #170040
    bburro
    Member

    @Porter--

    Boom. You tha man!

    Learning hooks- so that was the problem-- I was "hooked" into the wrong location, right?

    So it's

    what_to_do( 'heres_my_hook', 'heres_the_part_of_the_hook_I_want_to_modify', no idea);

    I will go back and review their tutorial. This is essential!!

    Thanks again for your help!

    November 3, 2015 at 10:53 am in reply to: Modern Portfolio Pro- remove post info #170009
    bburro
    Member

    I am building my site on localhost, so link is not available at this time...

    Thanks!

    November 2, 2015 at 10:45 am in reply to: modern portfolio pro menu #169891
    bburro
    Member

    Brad- I have a website I would like to get your feedback on. I am looking for someone to help me- on this and future sites- to help me "tighten up" the details.... Things like cross-platform rendering issues, plug-in rendering issues, etc.

    I would love to know what you would charge- I see you offer support for $47 a month.

    My email is [email protected]

    That is the first site I would like you to look at. My main concern is cross-device user experience. It is built on the Genesis framework, and I am using a slider plug-in on my home page. Wondering what you think, changes you would make, etc.

    Thanks for helping!

    -Blake

    November 2, 2015 at 10:39 am in reply to: modern portfolio pro menu #169884
    bburro
    Member

    Thanks for the tip! I was going to copy the CSS for that class and create a rule for that particular menu ID. Your way is much better- considering I was unaware of the breadth of the "Screen Options"

    Awesome!!

    May 21, 2015 at 3:59 am in reply to: Parallax Pro: sticky menu #153071
    bburro
    Member

    Wow. I figured out that the discrepancy was due to the admin bar at the top when you're logged into wordpress. I learned on Joomla so I'm not familiar with all the intricacies yet...

    Thanks!

    May 20, 2015 at 7:55 pm in reply to: Parallax Pro: sticky menu #153020
    bburro
    Member

    When I apply 'top: 90px' to '.nav-primary' here is what I get in each browser:

    firefox

    chrome

    May 20, 2015 at 7:21 pm in reply to: Parallax Pro: sticky menu #153015
    bburro
    Member

    Here is the them header code:

    .site-header {
      background-color: #000;
      left: 0;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 999;
    }

    Here is my custom CSS:

    /* decrease content padding on devices 1024px and wider */
    @media screen and ( min-width: 1024px ) {
    	.full-width-content .content { padding: 0 100px 25px }
    }
    /* site-inner  */
    @media screen and ( min-width: 980px ) {
    	.site-inner {margin-top: 100px}
    }
    @media screen and ( max-width: 979px ) {
    	.site-inner {margin-top: 10px}
       
    }
    /* hide tab images 374px and smaller */
    @media screen and ( max-width: 374px ) {
    	#slidetabs_670 img {display: none}
    }
    
    /* site header */
    .site-header {background-color: #fff}
    
    /* site header info */
    #text-5 h4 {color: #000; font-size: 27px; margin: 0}
    #text-5 .textwidget {margin: 0} 
    
    /* main nav */
    .genesis-nav-menu {line-height: 0}
    /* sticky */
    .nav-primary {width: 100%; position: fixed; max-width: 1140px; z-index: 999}
    
    /* main content top-padding */
    .full-width-content .content {padding-top: 10px}
    
    /* Menu Links link --> visited --> hover --> active */
    /* a */
    .parallax-pro-blue a {color: #1321D7}
    /* current item and hover */
    .parallax-pro-blue .entry-title a:hover, .parallax-pro-blue .genesis-nav-menu a:hover, .parallax-pro-blue .genesis-nav-menu .current-menu-item > a, .parallax-pro-blue .genesis-nav-menu .sub-menu a:hover, .parallax-pro-blue .genesis-nav-menu .sub-menu .current-menu-item > a:hover, .parallax-pro-blue .home-odd .featured-content .entry-title a:hover, .parallax-pro-blue .site-footer a:hover, .parallax-pro-blue .site-header .widget-area a:hover {color: #FFCC40}
    
    /* hide headings */
    .hide {font-size: 1px; color: #ffffff;}
    
    h1.entry-title {font-size: 1px; color: #FFFFFF; margin: 0}
    .entry-header::after {display: none}
    
    /* tabs */
    .spaced-horizontal .st_views .st_view_active .st_view_inner {padding-top: 20px}
    #slidetabs_670 .st_views {font-size: 18px; line-height: 20px; border:5px solid #0785CF}
    #slidetabs_670 .st_tabs ul li a {font-size: 14px; font-weight: bold; background: none repeat scroll 0 0 #6ABDEF; color: #000; border-top-color: #6ABDEF}
    #slidetabs_670 .st_tabs ul li a:hover {background: none repeat scroll 0 0 #1F97DE; color: #FFF; border-top-color: #1F97DE}
    #slidetabs_670 .st_tabs ul li a.st_tab_active {background: none repeat scroll 0 0 #0785CF; color: #FFF; border-top-color: #0785cf}
    .st_view_inner h1 {color: #0785CF; font-size: 30px; letter-spacing: -2px; border-bottom: 1px dotted #0785CF;} 
    .slidetabs p {margin-bottom: 15px}
    .slidetabs ul {margin-bottom: 20px}
    
    /* columns */
    p.line {border-bottom: 1px solid #0785CF; padding-top: 20px}
    div.one-half {text-align: center}
    div.one-half .button-column {border-radius: 10px; padding: 15px; background: yellow; color: #000; border: 1px solid orange;}
    
    /* pricing tables */
    .content-box-green {padding: 20px 0 0}
    table {line-height: inherit; margin-bottom: 0}
    th {border-bottom: 1px solid grey}
    td, th {text-align: center}
    
    /* contact form */
    input, select, textarea {padding: 0;}

    Please let me know if you need anything else.

    May 20, 2015 at 6:58 pm in reply to: Parallax Pro: sticky menu #153012
    bburro
    Member

    I removed all of my custom css and the issue still exists.

    Here is the header code:

    <header class="site-header" itemtype="http://schema.org/WPHeader" itemscope="itemscope" role="banner">
    <div class="wrap">
    <div class="title-area">
    <p class="site-title" itemprop="headline">
    <a href="http://localhost/waco/">Computer Solution</a>
    </p>
    <p class="site-description" itemprop="description">for all your IT needs...</p>
    </div>
    <aside class="widget-area header-widget-area">
    <section id="text-5" class="widget widget_text">
    <div class="widget-wrap">
    <h4 class="widget-title widgettitle">(254) 633.2400</h4>
    <div class="textwidget"></div>
    </div>
    </section>
    <section id="simple-social-icons-3" class="widget simple-social-icons">
    <div class="widget-wrap">
    <ul class="alignright">
    <li class="social-email">
    <li class="social-facebook">
    <li class="social-gplus">
    <li class="social-twitter">
    </ul>
    </div>
    </section>
    </aside>
    </div>
    </header>

    Please let me know if this isn't what you meant.

    Thanks again.

    May 20, 2015 at 6:25 pm in reply to: Parallax Pro: sticky menu #153002
    bburro
    Member

    When I change the top attribute it renders differently in Firefox than it does in Chrome. One needs a top of 70, the other 100. There is no margin pushing it down. I'm really confused!

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 25 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

© 2025 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