Okay
  Public Ticket #3008813
CTA button on header
Closed

Comments

  •  14
    Rodolfo started the conversation

    Hello!

    How can I display a CTA button in the header like the one attached?
    I just programmed it with html code, but in the mobile version, it hides and is only shown by clicking on the off canvas menu.

    Thanks!!!

  •  2,958
    Andrew replied

    Hi there,

    You can try and add the CTA to salient \ secondary header bar - enable the secondary header bar from the secondary header bar dropdown options.

    Then add the CTA text to secondary header text and header link URL options.
    The CTA will show at the very top of the page and not similar to how it shows on your screenshot.

    That's what the theme has build in.
    Hope this is a workable alternative.

  •  14
    Rodolfo replied

    But the theme on the screenshot is Salient, the same I have installed on my Wordpress. Can´t I built it as this demo is? I imported the demo, but this CTA button is on the single project, and it doesn't included on the demo, just the home page. Can I import it from any other repository?

  •  1,877
    Judith replied

    Hi Rodolfo,

    You can create it as a menu item then select the menu item style as as shown below:

    3339158668.png

    Thanks.

  •  14
    Rodolfo replied

    Thanks! But, can I add some icons like the standard buttons of the theme?


    7583617570.png

    And this on hover:

    4446884429.png



  •  279
    Noah replied

    Hello Rodolfo,

    Thanks for keeping in touch.

    The “Material” theme skin is the only option which will display the icons within buttons before hovering. You can change to that in the Salient options panel > general settings tab

    Thanks.

  •  14
    Rodolfo replied

    OK, thanks!!!

  •  14
    Rodolfo replied

    Where can  change the border button color on hover?

  •  279
    Noah replied

    Hello,

    Use the css below:

    body #top nav >ul >li[class*="button_bordered"] > a:before {
      border-color: #ff0000;
    }
     
    body #header-outer:not(.transparent) #top nav > ul > .button_bordered > a:hover:before {
      border-color: #4343ff!important;
    }
    

    Thanks.

  •  14
    Rodolfo replied

    Ok, thanks!!!