Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article

Okay
  Public Ticket #1346292
Not able to change font in contact block for mobile view
Closed

Comments

  • ranjan singh started the conversation

    I want to change font size for text Contact number.

    i tried to change this in apprearance->Editor->style.css

    but its only changing for desktop view and not for mobile view.

     

  •  255
    Joanna replied

    Hi ranjan singh,

    Never use the style.css unless you are adding it into the Child Theme style.css, otherwise your edits will be overridden each time the theme is updated.

    You can also put your edits into the North Theme Options > Advanced > Custom CSS Styling box.

    For mobile styling you need to target the responsive styling:

    @media only screen and (max-width: 400px) {
    .address-soft h2.phone-text, .address-soft a.mail-text {
        //add your edits here
    }
    }

    A useful tool is to use Chrome, right-click on the text and click 'Inspect'.

    You can then toggle the device toolbar to show you what it looks like on mobile to see the responsive CSS used


    Kind regards,
    Joanna
    Veented Support

    Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories

    Check out our latest article: How to Improve Page Loading Times

    Don't forget to hit the like button below if you are happy with your support answer :)

  •   ranjan singh replied privately
  •   ranjan singh replied privately
  •  255
    Joanna replied

    Hi ranjan singh,

    Ah! You want the phone number text smaller too!

    Try this:

    @media only screen and (max-width: 480px){
    .address-soft h1.phone-text {
        font-size: 20px;
    }
    }

    (add to the North Theme options as before)


    Kind regards,
    Joanna
    Veented Support

    Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories

    Check out our latest article: How to Improve Page Loading Times

    Don't forget to hit the like button below if you are happy with your support answer :)

  • ranjan singh replied

    This also not working.

    i added code to Appearance->customize->Addition css

    And its worked for me.

  •  255
    Joanna replied

    Hi ranjan singh,

    Glad you found a way to get it sorted


    Kind regards,
    Joanna
    Veented Support

    Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories

    Check out our latest article: How to Improve Page Loading Times

    Don't forget to hit the like button below if you are happy with your support answer :)