This topic has 6 replies, 2 voices, and was last updated 8 years by btroesch.

  • Author
  • #169524
     btroesch
    Participant

    Hello! I am trying to manually add a button in my sidebar by using the html widget. I put in the following code:

    [kleo_button title="Test" style="highlight" href="www.we-together.ch/test" tooltip_position="left" tooltip_action="hover"]

    However, when clicking on the button it opens the following link: http://www.we-together.ch/freizeitaktivitaeten/www.we-together.ch/test

    It adds the link of the button behind the link of the page where the button is located.

    Can you help me out with that?

     

    #169590
     Kieran_SQ
    Moderator

    Hey @btroesch,

    The issue appears to be coming from using a full URL without defining HTTP:// or HTTPS:// first. To resolve this with external links please use the below snippet:

    [kleo_button title="Test" style="highlight" href="http://www.we-together.ch/test" tooltip_position="left" tooltip_action="hover"]

    If this is for internal links it should only contain the URI only, like so:

    [kleo_button title="Test" style="highlight" href="/test/" tooltip_position="left" tooltip_action="hover"]

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #169664
     btroesch
    Participant

    Thank you for your reply. I have another question but I’m not sure if this is the right place to ask. Do you have an idea where I can change the button style of the plugin “invite anyone”? I want to change the style into the same kleo style as in the code above (please see attachement for how the button currently looks like).

    #169674
     Kieran_SQ
    Moderator

    Hey,

    Please update the ticket with login credentials and where I can see this button and I will send you some CSS to style it like KLEO.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #169681
     btroesch
    Participant

    User: Test1
    Pw: _1234

    You will see the button on the right sidebar after logging in.

    #169685
     Kieran_SQ
    Moderator

    Hi,

    Please add the below CSS to your Child Theme’s style.css or to Quick CSS under Theme Options > General Settings > Scroll to: Quick CSS.

    #invite-anyone-widget-submit .button {margin: 3px 0 3px 0;background-color: #00b9f7;color: #ffffff;border: solid 1px #e5e5e5;border-radius: 3px;padding: 6px 12px 6px 12px;font-size: 13px;}

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #169765
     btroesch
    Participant

    Thank you! That worked!

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?