This topic has 3 replies, 2 voices, and was last updated 10 years by sharmstr.

  • Author
  • #34395
     wennies
    Participant

    I want to use a shortcode to insert a button in the sidebar. However, I want the buttons to be the same width. Is there a way to set the button width to eg. 200px? In the shortcode there is a parameter size”” but that does not work if you enter “200px”.

    Any suggestions?

    #34398
     sharmstr
    Moderator

    specify an extra class name (lets say you call it sidebarBtn) then use that class name in your child’s css

    COPY CODE
    
    .sidebarBtn {
    width: 200px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #34697
     wennies
    Participant

    Thanks for the advise. I added the line to the stylesheet. How do I call this class?

    I am using the following code to embed in the widget:

    [kleo_button kleo_icon icon="facebook" title="Facebook" href="https://www.facebook.com/mypage" target="_blank" style="highlight" size="" ]

    #34699
     sharmstr
    Moderator

    [kleo_button kleo_icon icon="facebook" title="Facebook" href="https://www.facebook.com/mypage" target="_blank" style="highlight" size="" el_class=".sidebarBtn"]

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

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

Log in with your credentials

Forgot your details?