automatic full width of the bar according to the screen
-
Hello, I have been with this for months and without asking but not being able to solve it, I must open the query here.
On my site avellanedashop.com, I put two search bars, one for mobile screens and one for desktop. But I did this because I could not get one of the two bars to automatically adapt to the full width of each screen, that is, as the amazon search bar does, which regardless of the size of the screen adjusts to cover the entire screen . width available.
What I would like is for the Advanced Woo Search bar to be able to do it, but since I didn’t get it, I added AJAX Search for WooCommerce and after searching a lot I found some css for this bar on various forum sites and pasted it, barely achieving a result unfavorable, because it is wide but not automatically. The last bar can be approximately the size of a desktop without being too small. but I still can’t get it to fit full width automatically based on the screen.
Could you please help me with the code that can make Advanced Woo Search adapt well so that it removes the other one and the header of my site looks good?
the css I have at the moment for AJAX Search for WooCommerce is the following:
.dgwt-wcas-sf-wrapp {
zoom: 1.13;
width: 100%;
margin: 0px;
position: asolute;
background: # 14A6E3;minimum width: 600px;
}
.dgwt-wcas-no-submit {
height: 50%;
margin: automatic;
maximum height: 20px;
width: 100%;
maximum width: 1023px;
left: 0px;
right: auto;
opacity: 100%;
fill: # 000;
top padding: 5pxThe page I need help with: [log in to see the link]
- The topic ‘automatic full width of the bar according to the screen’ is closed to new replies.