Remove search option from top of header

  • Unknown's avatar

    Hello,

    I would like to remove the search option from this theme: RYU. I have a CSS upgrade and I tried adding:

    .header-search {
    display: none;
    }

    …but it did’t work. Any help?

    Thank you.

    The blog I need help with is: (visible only to logged in users)

  • You’re close, but you’re not quite targetting the right element. Try this:

    .search-trigger {
      display: none;
    }

    I also noticed that you’re hiding the entire footer, including the credits.

    You need to keep the credits intact on WordPress.com, it’s required to use our service. (Even our VIP sites must display a credit.) Please restore the footer credit.

    If you’d like to make it a little more subtle, try something like this:

    .site-info a, .site-info {
         color: #d4d4d4;
    }

    Let me know how it goes.

  • Unknown's avatar

    Great – all done. Thank you very much. Looks good now. F

  • Looking good indeed!

    If you need more help with custom CSS in the future, feel free to post in the CSS Customization forum:
    https://en.forums.wordpress.com/forum/css-customization

  • Unknown's avatar

    Actually there is something else. How can I minimise the space between the main photo and the header? At the moment there is much space. Can you help me with this?

    Thank you in advance.
    F

  • To reduce this space just on the homepage, this should do the trick:

    .home .hentry {
        padding-top: 50px;
    }

    Feel free to post in the CSS customization forum if you need further help – I posted the link just above – and volunteers/staff will help you there. Thanks!

  • The topic ‘Remove search option from top of header’ is closed to new replies.