New Landing How can we help? Cardinal Customize Search Box

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #173836
    onehipcat
    Member
    Post count: 170

    Hi,

    I would like to customize the search box. Right now, I’m getting a dark grey color.

    I would like to make the search box this color: #e1dede

    I would also like to make the text inside of the search box black.

    What code do I need for this?

    (attached is a snapshot of how it is currently)

    Attachments:
    You must be logged in to view attached files.
    #173992
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option.

    
    #main-nav .ajax-search-wrap input[type="text"] {
      background: #e1dede!important;
      color: #000!important;
    }

    -Rui

    #174240
    onehipcat
    Member
    Post count: 170

    Thank you so much! Can we do the same thing for the dropdown that pop-up below? I want those boxes to have the same grey color, #e1dede. Also, I would like to make the text in those boxes this green color: #e1dede.

    See snapshot for the area I’m referring to.

    Attachments:
    You must be logged in to view attached files.
    #174493
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    
    .ajax-search-wrap, .ajax-search-results, .search-result-pt .search-result, .vertical-header .ajax-search-results {
        background: #e1dede !important;
    }
    
    .search-result h5,.search-result-pt h6, .no-search-results h6{
    color:#17453A !important;
    }

    Thanks
    Mohammad

    #176170
    onehipcat
    Member
    Post count: 170

    Thanks so much! But, the links are not green. The links inside the search menu are white (see snapshot). Can we make the links this color green: #e1dede

    Attachments:
    You must be logged in to view attached files.
    #176227
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .ajax-search-wrap input[type="text"], .search-result-pt h6, .no-search-results h6, .search-result h5 a, .no-search-results p {
        color: #17453A !important;
    }

    Thanks
    Mohammad

    #177141
    onehipcat
    Member
    Post count: 170

    Yes. That did work. Thank you so much.

    #177165
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register