Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #308443

    Hi,

    I use google CSE, to search for content on other websites.

    The CSE google works well, just insert the generated code.

    I’m having trouble with is the style. (see the link)

    Some distortions appear in the Enfold page.

    I have no idea how to solve.

    Can you help me with the css code?

    thank’s

    #308673

    Hey ayron!

    You can add a negative margin-top to the search input field to move it inside the search bar – insert this code into the quick css field:

    
    #top #wrap_all #gs_id50{
    margin-top: -11px;
    }
    
    #top #wrap_all .gsc-selected-option-container {
        min-width: 76px;
    }
    

    This code will change the height of the input field:

    
    #top #wrap_all  #gsc-i-id1{
    height: 25px !important;
    }
    

    This code should fix the search button:

    
    #top #wrap_all input.gsc-search-button {
        height: 32px !important;
        background: url('http://www.google.com/uds/css/v2/search_box_icon.png') #4D90FE no-repeat 50% !important;
    }
    

    Best regards,
    Peter

    #308787
    This reply has been marked as private.
    #308810
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Google Custon Engine (CSE) and CSS’ is closed to new replies.