Shape 5

Joomla Templates => Modern Flavor - Club => : Woodzy January 31, 2017, 09:37:51 AM



: Business Hours and Phone # in Mobile View
: Woodzy January 31, 2017, 09:37:51 AM
How can I force the hours to show in two lines or have the font size reduced?
My client has slightly different hours on Sunday vs the rest of the week and in the mobile layout, the information is skewed.
Reducing the screen width on a desktop browser works good as it (appears to) reduce the font size but in the mobile view, the hours text is too wide and pushes the phone # down one line. (Galaxy S7 image attached)
What can you suggest to help me resolve this issue?
Thanks

<div class="s5_times_wrap">
                  Mon-Sat 10:57 to 10:03 Sun 10:57 to 9:03               </div>
ie: Mon-Sat 10:57 to 10:03 Sun 10:57 to 9:03 281.364.9555

div.s5_times_wrap


: Re: Business Hours and Phone # in Mobile View
: mikek January 31, 2017, 08:23:50 PM
Hello,

You can reduce the font size by adding the following to custom.css:

.s5_times_wrap {
font-size:0.7em !important;
}


: Re: Business Hours and Phone # in Mobile View
: Woodzy February 01, 2017, 10:58:40 AM
Thanks for the suggestion.
Is there any way to put a
 in the line and force it to be two lines of text?
If so, it would also be nice to have the phone # be inline with the top line of the hours text.

ie:
Monday - Saturday ####                                          Phone #
Sunday hours #####

Thanks for your assistance.


: Re: Business Hours and Phone # in Mobile View
: mikek February 02, 2017, 08:07:50 AM
Hello,

Try adding the following to the bottom of s5_responsive.css to do this:

@media screen and (max-width: 970px){
   #s5_times_phone_wrap {
   height:56px !important;
   }

   .s5_phone_wrap {
   float:left !important;
   }
}