• I just started to learn php, css and html codes and don’t know so much, I need your help.
    I want to style the search box that I put in the header of my website with a widget, I put a padding-left: 1275px, and a padding-top: 80px; and I saw in chrome pressing f12, looks good but how do I put the code in my style.css file or searchbox.php, etc.?

    My website is http://rocketrock.jzfstudio.com/es

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Give your HTML elements classes or IDs.
    E.g

    <input type="text" class="myClass" />

    Then in your stylesheet, you can select certain HTML elements and style them accordingly.
    E.g

    input.myClass{
     padding-left: 1275px;
     padding-top: 80px;
    }

    Try putting it in style.css

Viewing 1 replies (of 1 total)
  • The topic ‘How can I give the default search widget a style?’ is closed to new replies.