Hi Friends,
I’m trying to add a search function to my website using ‘Simple Site Search’ but unfortunately, I can’t get the responsive side of things to work correctly. I have tried for many days the following suggestions, please see link below, but as of yet I’m still baffled.
https://freewaytalk.softpress.com/thread/view/163267
I’ve added the following code as advised, included the correct brake point sizes etc, (please see code below) and all seems to we working just fine. However, when I test the page, while the search results box seems to display correctly. Oddly, the largest search box used on the largest page size seems to remain, adding space to the right-hand side, undoing the responsive properties.
@media screen and (max-width:1100px) { #fwSearchResults { width: 670px; } } @media screen and (max-width:800px) { #fwSearchResults { width: 405px; } } @media screen and (max-width:768px) { #fwSearchResults { width: 605px; } } @media screen and (max-width:607px) { #fwSearchResults { width: 524px; } } @media screen and (max-width:603px) { #fwSearchResults { width: 516px; } } @media screen and (max-width:600px) { #fwSearchResults { width: 516px; } } @media screen and (max-width:603px) { #fwSearchResults { width: 516px; } } @media screen and (max-width:480px) { #fwSearchResults { width: 374px; } } @media screen and (max-width:460px) { #fwSearchResults { width: 374px; } } @media screen and (max-width:424px) { #fwSearchResults { width: 374px; } } @media screen and (max-width:414px) { #fwSearchResults { width: 357px; } } @media screen and (max-width:400px) { #fwSearchResults { width: 318px; } } @media screen and (max-width:384px) { #fwSearchResults { width: 294px; } } @media screen and (max-width:375px) { #fwSearchResults { width: 294px; } } @media screen and (max-width:360px) { #fwSearchResults { width: 294px; } } @media screen and (max-width:320px) { #fwSearchResults { width: 260px; } } @media screen and (max-width:240px) { #fwSearchResults { width: 217px; } }Try, searching the number ‘1’ for example and see what I’m trying to explain. I know that I need to add the description in meta tags, the site is only in early stages.
http://www.spiritual-jewellery-online.co.uk/productdetails.html
I have seen and tried adding the following code as mentioned, please see below, but having absolutely no understanding of code, it makes absolutely no sense and hope someone can be so kind as to advise me.
#search-block { position:relative; width:920px; height:654px; z-index:0; overflow:visible }
Thank you in advance for your help any help and suggestions
Paul
http://www.spiritual-jewellery-online.co.uk/productdetails.html
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options