Viewing 15 replies - 1 through 15 (of 16 total)
  • In your style.css search for
    header[role="banner"] #s
    Add height:35px; to it, looks ok in firebug doing that.

    Thread Starter 3rnald0

    (@3rnald0)

    that hasn’t worked when I view in mozilla firefox. If I view it in internet explorer it’s fine??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It doesn’t look like you’ve added the style.
    Rightly you shouldn’t be manipulating any of the theme’s files.

    Download the Jetpack plugin and use its Custom CSS functionality to hold your CSS changes.

    Thread Starter 3rnald0

    (@3rnald0)

    Andrew Nevins: All I wanted was to add the privacy policy in the footer. Now it’s screwed the search bar. I’ve installed the jetpack, but I don’t understand what to do once I’ve installed it and activated it ? :S

    Zeaks: I tried writing “height:35px” because I tried that and it didnt change anything?

    In the jetpack custom CSS, add this code:

    header[role="banner"] {
       height: 35px;
    }

    Thread Starter 3rnald0

    (@3rnald0)

    thats not working either WPyogi :/

    Oh, sorry, I missed a piece of code in there — try this:

    header[role="banner"] #s {
       height: 35px;
    }

    Thread Starter 3rnald0

    (@3rnald0)

    that hasnt done anything either :/ is there any way of restoring the frantic theme without losing any of my content??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try WPyogi’s latest suggestion, but with an !important term on the end of the style;

    header[role="banner"] #s {
       height: 35px !important;
    }

    Thread Starter 3rnald0

    (@3rnald0)

    nothing has changed still :S

    Thread Starter 3rnald0

    (@3rnald0)

    any ideas guys??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where are you adding the CSS?

    Thread Starter 3rnald0

    (@3rnald0)

    I’m clicking on installed plugins. Then clicking on edit Jetpress. Then clicking on the plugin file named: jetpack/modules/custom-css.php

    Then I added

    header[role=”banner”] #s {
    height: 35px !important;
    }

    at the end of all the code

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Here’s a tutorial on how to use Jetpack Custom CSS
    https://jetpack.me/support/custom-css/

    Thread Starter 3rnald0

    (@3rnald0)

    When I follow the tuorial andrew, on my jetpack plugin it says

    Custom CSS could not be activated because it triggered a fatal error. Perhaps there is a conflict with another plugin you have installed? Do you still have the WordPress.com Custom CSS plugin installed?

    Parse error: syntax error, unexpected \’}\’ in /home/erny23/public_html/wp-content/plugins/jetpack/modules/custom-css.php on line 27

    :/

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Search Bar in Top Right’ is closed to new replies.