Centric Pro theme suggestion

Community Forums Forums General Discussion Centric Pro theme suggestion

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Andrea Rennick 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #92785



    Using the new Centric Pro theme I suggest making the following change:

    Instead of adding the “bumper” DIV using javascript in the global.js file, why not add the class using a normal hook, like this in functions.php

    //* Hook after header bumper
    add_action( 'genesis_after_header', 'centric_after_header', 5 );
    function centric_after_header() {
    	echo '<div class="bumper"></div>';

    This will get rid of the annoying flicker when loading a page, since the JS will add the bumper when done loading, this way, the bumper is added right away, making the page load a lot smoother.

    Hope this help.




    Andrea Rennick


    The designers and support staff do not monitor the forums. If you have a bug for the theme, you have to file a ticket.

    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.