• Resolved jan s

    (@jan-s)


    Hi – total newbie at this – be kind & use no big words! πŸ™‚

    I want to remove the search bar from the header. Is this possible?

    Here’s a screenshot
    https://mynaplesfloridahousecom.wordpress.com/

    Also – is it possible to change the colors of the wording on the pages on the sidebar? I would like the parent pages one color and all others a different color to help distinguish them better.

    Thanks!

Viewing 15 replies - 1 through 15 (of 20 total)
  • Is your site on WordPress.com?
    If so, please post on the WordPress.com Forums.
    If not, post a link to your actual site.

    Moderator Kathryn Presner

    (@zoonini)

    You can accomplish both those things with custom CSS.

    Custom CSS is available with the Premium or Business plans on WordPress.com.

    If you need further CSS help, please feel free to post in the WordPress.com CSS Customization forum.

    Moderator Kathryn Presner

    (@zoonini)

    If in fact you’re looking to modify a self-hosted site on your own hosting, let us know and we can help you here.

    I see another site running Canard here: mynaplesfloridahouse.com but it looks like you’ve already managed to remove the search bar. Keep in mind that if you did not use a custom CSS plugin (like the custom CSS editor module in Jetpack) or child theme to remove it, your change will be lost the next time you update the theme.

    Please let us know if you need further help.

    Thread Starter jan s

    (@jan-s)

    Thanks for getting back to me. I WAS on wordpress.com building it when I first posted this. This morning we moved it to a self-host. When I moved it the search bar suddenly went to the bottom of the header – so it’s still there- I still need it gone. I see that I can change it thru the CSS but I am afraid to start messing around and screw it all up -yes, I will somehow – trust me πŸ™‚

    Also, I had the option to change the fonts on the wordpress hosted site – now it must be done thru CSS. I had the headings in Cherry Swash and the base font in Open Sans – and I really want to get those back.

    Any help will be greatly appreciated!

    Thanks!

    A link to your present site, then.
    And list the items you would like assistance altering, including fonts.

    Thread Starter jan s

    (@jan-s)

    Headings in Cherry Swash and the base font in Open Sans

    Thanks!

    Thread Starter jan s

    (@jan-s)

    mynaplesfloridahouse.com

    Thread Starter jan s

    (@jan-s)

    https://mynaplesfloridahousecom.wordpress.com/

    This is what it looked like before it was moved from wordpress –
    I liked how the static page pic stretched completely across the page (now I have a gray background and a smaller pic) can we fix that?

    See the fonts on the lettering – it was much ‘fancier’
    The whole page just seemed nicer than what I have now

    Are you using a Child Theme for any changes?
    If not, you should, as when the main theme updates, all the changes you may have made to the main theme will be lost.

    Thread Starter jan s

    (@jan-s)

    I am not – I just looked up what it was – sounds complicated to even get that – but I will try

    A basic child theme starts with a style.css file, of which you open a text editor (such as Notepad in Windows, NOT Wordpad or MSWord!!) and type a style header in, similar to this…

    /*
     Theme Name:   Twenty Fifteen Child
     Theme URI:    http://example.com/twenty-fifteen-child/
     Description:  Twenty Fifteen Child Theme
     Author:       John Doe
     Author URI:   http://example.com
     Template:     twentyfifteen
     Version:      1.0.0
     License:      GNU General Public License v2 or later
     License URI:  http://www.gnu.org/licenses/gpl-2.0.html
     Tags:         responsive-layout, accessibility-ready
     Text Domain:  twenty-fifteen-child
    */

    …then change the theme name, theme uri, description, author, and author uri to what is relevant to you.

    Then, considering the parent theme you are going to use, which is your current theme, you change the template (your current theme name).
    The text domain – notice how this is the same as the child theme name but in all lower case and hyphens (no spaces).

    Save this as “style.css” in a folder named exactly as what you wrote for the “text domain”.

    Next, open another blank, put this…

    <?php
    
    function theme_enqueue_styles() {
    
        $parent_style = 'parent-style';
    
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style )
        );
    }
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );

    …at the very top with no spaces before or after it.

    Change both instances of “theme_enqueue_styles()” to “your-child-theme-name_enqueue_styles()” – the one at the beginning behind “function” and the one at the bottom inside “add_action(“.
    There can be no hyphens in this. Change any hypens to underscores.

    Change ‘parent-style’ to ‘whatever-your-current-themes-name-is’.
    Change ‘child-style’ to ‘whatever-you-named-your-child-theme’.

    Save this as “functions.php” in the same folder as your style.css.

    Upload this folder to your site’s “themes” folder (wp-content > themes) and now you have a Child Theme installed.

    This is it.

    Thread Starter jan s

    (@jan-s)

    OMG – ok – everybody close their eyes…. ugh

    Thread Starter jan s

    (@jan-s)

    I don’t have notepad – can I use something else? I am not on Windows 10 – is there a safe download to get it on my version? (I have the previous one – whatever that was called) – told you I was a computer dummy! (Where is a good 10 yr old kid when you need one)….

    All versions of Windows have Notepad. If on Win7, in Start > Search, then type “Notepad” and it will come up. Right-click on it and Choose “Save to Desktop” and it will put an icon for it on your desktop.

    Thread Starter jan s

    (@jan-s)

    Thanks!

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Canard: Search bar in header’ is closed to new replies.