WordPress.org

Ready to get started?Download WordPress

Forums

How to remove the search bar on front page (2 posts)

  1. avadanicosmin
    Member
    Posted 1 year ago #

    Hi,

    I want to remove the search bar on the front page

    link: http://westend-beautyclinic.co.uk/?p=76

    it's on the upper right hand side, with white .. and it's ugly :) i want it out :)

    thanks

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    Hi avadanicosmin,

    NB! First make a back-up copy of style.css, so you can restore it should this be required / results don't meet expectatins ;-)

    Line 275 of the file 'style.css reads:

    header[role="banner"] #s, .entry-content #s {
        font-size: 1.3em;
        background: url("library/images/icon-search.png") no-repeat scroll 7px 10px rgb(255, 255, 255);
        padding: 7px 10px 7px 30px;
        border: 3px solid rgb(255, 255, 255);
        box-shadow: 3px 3px 9px rgb(208, 208, 208) inset;
        min-width: 270px;
        outline: medium none;
    }

    add to this: visibility:hidden;
    result:

    header[role="banner"] #s, .entry-content #s {
        font-size: 1.3em;
        background: url("library/images/icon-search.png") no-repeat scroll 7px 10px rgb(255, 255, 255);
        padding: 7px 10px 7px 30px;
        border: 3px solid rgb(255, 255, 255);
        box-shadow: 3px 3px 9px rgb(208, 208, 208) inset;
        min-width: 270px;
        outline: medium none;
        visibility: hidden;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic