Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tdma77

    (@tdma77)

    I figured it out …
    It was because I was using the shortcode on each page (bottom or top of page):

    [breadbrumb]

    Rather than adding the php code to the template .php file.

    The solution was the same as you replied to the post:

    “Wher to paste the php code for it to work on the whole my page?”

    In my application I wanted the shortcode at the bottom of each page, so I added it to page.php at the end of the primary div:

    </main><!– #main –>
    added here —–> <?php echo do_shortcode( ‘[breadcrumb]’ ); ?>
    </div><!– #primary –>
    <!– NEEDED TO COPY THIS FILE PAGE.PHP TO THE CHILD THEME, AND ONLY ADD THE SIDEBAR CODE BELOW –>
    <?php get_sidebar(); ?>
    </div>

    Hello Mark,
    I have a similar problem, but the solution needs to be a bit different,
    and I have not yet figured out how to do it.
    In my application, your solution works for the background, but not for the text color.
    I can change the text color for the entire menu, sticky and non-sticky, by the following:

    .menu-image-title {
    font-family: “Poppins”, “serif”;
    height: 30px;
    color: #ffffff;
    }

    Yet, I can’t see how to add that to your solution to make the .menu-image-title class color toggle when the sticky menu is activated. Do you have a solution for this?

    Mark A.

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