Originally Posted by
spminis
I'm trying to add a search header to the mobile display. l
In the templates/ResponsiveSheffieldBlue/css/responsive_mobile.css file - here's what I did:
For Mobile Portrait -
~#364 I commented out the display:none...change to-
Code:
#navMainSearch{float:none;width:100%;border:1px solid #000;/*display:none;*/}
and I added line underneath it:
Code:
.search-header-box{width: 75% !important;padding-right: 1.5em;}
then, around line #3648 change #navMainSearch to :
Code:
#navMainSearch{top:0;}
For Mobile Landscape -
~#51 change to-
Code:
#navMainSearch{float:none;width:100%;border:1px solid #000;/*display:none;*/}
and add line underneath:
Code:
.search-header-box{width: 80% !important;padding-right: 1.5em;}
and
~#174 change #navMainSearch to
Code:
#navMainSearch{top:0;}
I didn't have any luck with this until I added the '!important - then it showed up
I fiddled with the width %, working with my own iphone 6s+
Also fiddled with the padding so that the little search icon didn't overlap the search box. My head hurts when I'm trying to sort out margins/padding!
I'm using zen cart 1.5.5d, Responsive Sheffield Blu2 2.0 and a bunch of mods.
Bookmarks