[Resolved] Search Widget on header defaults to left

Home Forums Support [Resolved] Search Widget on header defaults to left

Home Forums Support Search Widget on header defaults to left

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #465278
    Darren

    Anyway I can customise the position of the search bar so it will sit central and close to my logo on the left in the header.

    #465282
    Leo
    Staff
    Customer Support
    #465297
    Darren

    Hi Leo

    Thats great code.

    Does that code go in simple or additional Css, also is there a way to make it sit central top to bottom, I have tried the code in additional and it works. please reference the page for more detail.

    #465382
    Leo
    Staff
    Customer Support

    Simple CSS and Addtional CSS will both work.

    Any reason you inserted a empty text widget?

    #465387
    Darren

    Hi Leo

    Yes I was trying to centre it between top and bottom of the header so inserted an empty widget to bring search bar down, is there a custom css for centring search between top and bottom ?

    #465388
    Leo
    Staff
    Customer Support

    We would have to add some padding to the WooCommerce widget once the empty text widget is removed:

    .header-widget .woocommerce {
        padding-top: 20px;
    }
    #465391
    Darren

    Leo

    Many thanks, case closed you guys are official geniuses lol

    Best tech support along side Site Ground

    #465392
    Leo
    Staff
    Customer Support

    Glad we’ve been helpful 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.