benjeeno

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 157 total)
  • Author
    Posts
  • in reply to: Remove :active state from main menu item when on homepage #139485

    benjeeno
    Participant

    Thanks again for clueing me in on that one!

    in reply to: Remove :active state from main menu item when on homepage #139482

    benjeeno
    Participant

    Oh thank you so much for this! I did not try “.home”

    background-color: none; did not work.

    This is what actually works to get it all to behave as a normal menu item:

    .home .genesis-nav-menu li a:hover {
    	background-color: rgba(255, 255, 255, 0.1);
    }
    
    .home .genesis-nav-menu .current-menu-item > a {
    	background-color: rgba(0, 0, 0, 0);
    }
    in reply to: hook in widget area on additional page? #139336

    benjeeno
    Participant

    Got it, needed to add “,1″ here > add_action( 'genesis_before_footer', 'nabm_add_page_content', 1 ); and it moved up above the the footer widgets area.

    • This reply was modified 4 months, 4 weeks ago by  benjeeno.
    • This reply was modified 4 months, 4 weeks ago by  benjeeno.
    in reply to: hook in widget area on additional page? #139331

    benjeeno
    Participant

    Well I figured out how to get it on the page I want but it wound up between the the footer widget area and the footer.

    How do I get it above the footer widget area but below site-inner?

    I used this in functions.php:

    //* Add the home-widget-5 widget in the portfolio page - HTML5
    add_action( 'genesis_before_footer', 'nabm_add_page_content' );
    function nabm_add_page_content() {
    	if ( is_page('789') )
    	genesis_widget_area ('home-widgets-5', array(
            'before' => '<div class="home-widgets-5"><div class="wrap">',
            'after' => '</div></div>',
    	) );
    }
    in reply to: Centric-Pro Homepage scrollTo #138868

    benjeeno
    Participant

    I’m not sure the above jQuery in the above post is close to the answer. I did try working in onclick with the menu id.

    Anyhow, here a link to the dev site: The dev site

    I have what I want happening when you click Services in the primary menu (scrollTo or localScroll is already there) but the :visited state is not desirable.

    How would I get the Services menu item to not have the :visited state when on the homepage but have it trigger the target of #featured-post-2, and still have it land on #featured-post-2 when clicking on Services menu item from any other page of the site?

    • This reply was modified 5 months ago by  benjeeno.
    • This reply was modified 5 months ago by  benjeeno.
    in reply to: Scrollmagic with Centric Pro #138852

    benjeeno
    Participant

    Centric-pro has scrollTo in its js directory.

    in reply to: Not actually positioning right after the header #126506

    benjeeno
    Participant

    In the Centric theme I am working on Brad Dalton’s Code for adding a toggle widget area did not put the widget area right after the header because the home featured widget had a higher priority. By simply adding , 1 at the end of the add_action it caused it to move up to be positioned below the header. The home featured widget was also given a priority of 2.

    • This reply was modified 9 months ago by  benjeeno.
    • This reply was modified 9 months ago by  benjeeno.
    in reply to: Not actually positioning right after the header #126500

    benjeeno
    Participant

    Thanks Brad!

    The CSS is not the issue. The issue is that the add_action, ‘genesis_after_header’ is not appearing directly after the header. It is appearing two divs below that. In Chrome Dev tools I can move that div and it works great, but that’s Chrome dev tools showing me where it needs to go.

    • This reply was modified 9 months ago by  benjeeno.
    • This reply was modified 9 months ago by  benjeeno.
    in reply to: Not actually positioning right after the header #126497

    benjeeno
    Participant

    So the code came from Brad, it’s Brad code: “>

    Sorry Brad. I made a judgement in error, a mistake.

    I’ll make sure you’re credited.

    • This reply was modified 9 months ago by  benjeeno.
    • This reply was modified 9 months ago by  benjeeno.
    in reply to: Not actually positioning right after the header #126493

    benjeeno
    Participant

    Brad I got the code from your post today and adapted it to Centric.

    The theme is currently in local development.

    in reply to: Not actually positioning right after the header #126487

    benjeeno
    Participant

    class=”bumper” is being added by jQuery in the global.js file.

    Using PHP, how do I force class=”toggle-widget widget-area” to be added right after the header? It is not doing this with the add_action hook I’m using above. It is getting added in two divs below bumper.

    in reply to: Website scrolls to the left? #125841

    benjeeno
    Participant

    Hey thanks so much Tony!

    in reply to: sidebar in wrong div #125840

    benjeeno
    Participant

    Thanks for your input Tom.

    in reply to: Can't Access Dashboard #125839

    benjeeno
    Participant

    I figure it out. I needed to select the Woocommerce setting for SSL to not force SSL outside of the checkout.

    in reply to: Add .class or ID to footer creds? #94737

    benjeeno
    Participant

    To clear up what I want to do here:

    I want the link to break to a second line when the viewport goes down to max-width: 320px, so my thinking was to add another footer cred with a <p class=””> that I will give visibility: show to and :hide to the other <p class=””>

Viewing 15 posts - 1 through 15 (of 157 total)