• I would like to edit the buttons code to do something similar to my nav bar:
    <a rel="m_PageScroll2id" href="#optimizer_front_about-3" class="_mPS2id-h">How it works</a>

    Where is the button code present? I cannot for the life of me find the location where this is:

    <a class="static_cta2 lts_button lt_rounded cta_flat" href="#optimizer_front_about-7">GET STARTED</a>

    Also the nav bar seems to be stuck in Mobile Mode for Chrome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author OptimizerWP

    (@layerthemes)

    @athorp1 Its in wp-content/themes/optimizer/frontpage/slider-static.php file.

    An can you elaborate on the navbar being stuck issue? Can you post a screenshot?

    Thread Starter athorp1

    (@athorp1)

    Ah wonderful thank you. The nav bar was stuck in mobile mode on Chrome only but I just checked and it’s fine? Might be something to do with cookies, not sure?

    Thread Starter athorp1

    (@athorp1)

    My knowledge of php is non existent, where would I place:

    <a rel="m_PageScroll2id" href="#optimizer_front_about-3" class="_mPS2id-h">How it works</a>

    Within the line:

    <a class="static_cta1 lts_button lt_rounded cta_<?php echo esc_attr($optimizer['static_cta1_txt_style']); ?>" href="<?php echo do_shortcode(esc_url($optimizer['static_cta1_link'])); ?>"><?php echo do_shortcode($optimizer['static_cta1_text']); ?></a>

    Thread Starter athorp1

    (@athorp1)

    When I view source on the front page it comes up listed as Index, but the index.php in home dir is not the source I am viewing?

    Thread Starter athorp1

    (@athorp1)

    Nevermind. After much googling I realised the index is dynamically made by the various php files! Edited slider-static.php with a rel=”m_PageScroll2id” just before the a ref.

    Thanks for your help. All good now ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to edit the two buttons rel=""’ is closed to new replies.