Web View Vs Mobile View

Discussion in 'Local Business WordPress Theme' started by infolosophy, Jul 13, 2013.

Thread Status:
Not open for further replies.
  1. infolosophy

    infolosophy Member

    Joined:
    Dec 28, 2011
    Messages:
    45
    Likes Received:
    0
    I'm having a sizing issue using the footer widgets where I can't get text information to appear similarly on standard web view and mobile. See www.hhiwindows.com...the middle footer widget. It has two addresses. To get the addresses to appear on separate lines on the web view I had to use 12pt font...On the mobile view to get the same effect I had to use 8pt font, which of course messes up the web view.

    I can't quite put my finger on the best way to fix it...

    Thanks.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the code given below in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .footer_widget .textwidget span strong {
    font-size: 12px;
    }
    .footer_widget .textwidget a {
    font-size: 12px;
    }
     
    @media only screen and (min-width: 767px) and (max-width: 960px) {
    .footer_widget .textwidget span strong {
    font-size: 12px;
    }
    .footer_widget .textwidget a {
    font-size: 12px;
    }}
    @media only screen and (min-width: 480px) and (max-width: 767px) {
    .footer_widget .textwidget span strong {
    font-size: 8px;
    }
    .footer_widget .textwidget a {
    font-size: 8px;
    }
    }
    @media only screen and (max-width: 480px){
    .footer_widget .textwidget span strong {
    font-size: 8px;
    }
    .footer_widget .textwidget a {
    font-size: 8px;
    }
    }
    
    Adjust the values as per your requirement.
    This will solve your issue.
     
  3. infolosophy

    infolosophy Member

    Joined:
    Dec 28, 2011
    Messages:
    45
    Likes Received:
    0
    After playing with the font sizes a bit , it worked like a dream....As always, THANKS!
     
Thread Status:
Not open for further replies.

Share This Page