Forum Support

Shape 5
October 25, 2021, 01:49:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Business Hours and Phone # in Mobile View  (Read 673 times)
Woodzy
Jr. Member
**
Offline Offline

Posts: 52



« on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Woodzy
Jr. Member
**
Offline Offline

Posts: 52



« Reply #2 on: 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.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: 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;
   }
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.