This topic has 16 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #139091
     kjcarleo
    Participant

    Hello, is it possible to make the search bar rectangular with no curved corners and a little bit shorter (padding inside the search box)? I am trying to keep everything squared on the site.

    See attached for example.

    Kevin

    Attachments:
    You must be logged in to view attached files.
    #139146
     Radu
    Moderator

    Provide page url where i can see that

    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #139163
     kjcarleo
    Participant
    #139186
     Radu
    Moderator

    Use this CSS, it’s applied only to that page if you want to have that style site-wide remove .page-id-8803 from the CSS

    COPY CODE
    
    .page-id-8803 .kleo-search-form #searchform .input-lg {
        border-radius: 0;
    }
    .page-id-8803 .kleo-search-form {
        max-width: 500px;
    }
    

    Cheers

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

    OK great that worked for the squaring, but can I change the height of the search box (looks like significant padding within the box).

    #139299
     Radu
    Moderator
    COPY CODE
    
    .kleo-search-form #searchform .input-lg {
        border-radius: 0;
        margin: 0 !important;
        height: 45px !important;
    }
    

    Cheers
    R.

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

    Ok I can see the difference in height, but is it possible to keep the search icon centered when changing the height? At 45px, it becomes uncentered vertically…

    Kevin

    #139452
     Radu
    Moderator

    Use this instead

    COPY CODE
    
    .kleo-search-form #searchform .input-lg {
        border-radius: 0;
        margin: 0 !important;
        height: 45px !important;
    }
    
    .kleo-search-form #searchform .input-group-btn { top:10px !important;}
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #139462
     kjcarleo
    Participant

    PERFECT, THANKS SO MUCH!

    #139478
     Radu
    Moderator

    You’re welcome

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

    Hey is it possible to center the progress indicator (spinning circle)? See attachment.

    #140955
     Radu
    Moderator

    attachment missing

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

    Here it is

    Attachments:
    You must be logged in to view attached files.
    #141428
     Radu
    Moderator

    Use this css

    COPY CODE
    
    .kleo-search-form .kleo-ajax-search-loading {
        margin: 0 auto;
        left: 200px !important;
        top: 15px;
    }
    

    Replace 200px with your desired value

    Cheers
    R>

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

    What happens if I revome the following code:

    left: 200px !important;

    I only need it centered vertically

    #141496
     kjcarleo
    Participant

    Disregard, I removed it and it went far right which is good. Thanks. Resolved.

    #141503
     Radu
    Moderator

    No problem

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 17 posts - 1 through 17 (of 17 total)

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

Log in with your credentials

Forgot your details?