Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter Deterjens

    (@deterjens)

    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?

    I can see this in your source code – <link rel="stylesheet" type="text/css" media="all" href="https://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.

    Thread Starter Deterjens

    (@deterjens)

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

    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.

    Thread Starter Deterjens

    (@deterjens)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help with search bar’ is closed to new replies.