How do I center the search box on Magento?

Asked

Viewed 40 times

0

You guys, good night. I’m developing a virtual store with CMS Magento in version 1.9.3.8 and wanted to know how to center the content I marked in the image. I will be grateful if you help me with this, because I have been trying for weeks and no results! rsrscentralizar todo o conteúdo

1 answer

0

this change should be made via CSS, directly in the Theme being used. In the element "div" where the search input is, it must be with "display:inline-block" and width "width" defined, whereas the top element, where div is allocated, must be with the properties "width:100%;text-align:center"

  • Thanks, I got it! Just took the position:.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.