Forums

Help with search bar (7 posts)

  1. Deterjens
    Member
    Posted 3 months ago #

    I want to move the search bar from the top right over my header to the right of the menu-bar under the header.
    http://canihazdat.dk
    Can you help me?

  2. Christine
    Moderator
    Posted 3 months ago #

    In the stylesheet of your child theme, try adding this:

    #branding #s {
    position:absolute;
    top:200px; right:20px;
    }

    you can adjust the values of top and right and position your search bar absolutely.

  3. Deterjens
    Member
    Posted 3 months ago #

    i dont have a stylesheet for my child-theme yet, where can i find it? And is there a certain part that i should put to code in, in the stylesheet?

  4. Christine
    Moderator
    Posted 3 months ago #

    I can see this in your source code - <link rel="stylesheet" type="text/css" media="all" href="http://canihazdat.dk/wp-content/themes/twentyeleven-child/style.css" />

    That tells me that you have a child theme

    When you go to Appearance > Editor the stylesheet should be there.

    If not, it could be that someone else put this together for you and didn't give you full admin rights.

  5. Deterjens
    Member
    Posted 3 months ago #

    I copied it in http://cl.ly/1x00191s010m192B2Q2a
    but nothing happened.
    What am i doing wrong?

  6. Christine
    Moderator
    Posted 3 months ago #

    You're missing a closing }

    #site-title a {
        color: #009900;
    
    }
    
    #branding #s {
    position:absolute;
    top:200px; right:20px;
    }

    Those are 2 different styles not one.

  7. Deterjens
    Member
    Posted 3 months ago #

    it still dont work, what am i doing wrong, should i add som extra info inbetween or should i just copy the whole thing into the style.css?

    I am new to this, so i understand very few word-terms of wordpress.

Reply

You must log in to post.

About this Topic