Okay
  Public Ticket #2375222
Custom Heading Mobile
Closed

Comments

  • JonasSmits started the conversation

    Hi,

    I have some problems with my 'custom heading'. 

    If I adjust the custom font size for the mobile version it does not change. 

    I want it in proportion!

    Do you have a solution for me? 


  •  8,884
    Tahir replied

    Hey,

    Please provide the page url so that i can write up the custom css for whats possible.

    Also try using the New Responsive Typography Settings in here : http://prntscr.com/gnf951 .

    Best.


    ThemeNectar Support Team 

  • JonasSmits replied

    Hey,

    Page url: www.bumpagency.nl

    Thanks!!

  •  2,979
    Andrew replied

    Hi there,

    Try the following custom css in Salient > General Settings > CSS/Script related:

    @media only screen and (max-width: 768px){
        h1.vc_custom_heading {
        font-size: 20px!important;
        line-height: 40px!important;
        }
        
        h2.vc_custom_heading {
        font-size: 18px!important;
        line-height: 30px!important;
        }
    }
    

    Kind regards.

  • JonasSmits replied

    Hi Andrew,

    Thanks!

    I tried your custom CSS.

    But it does not work.

    Kind Regards,

    Jonas Smits

  • JonasSmits replied

    See attachment.

  •  2,979
    Andrew replied

    Hi Jonas,

    Could you allow us to login to your website we check what could be overwriting that. We going to need username and password with admin privileges.

    Thanks.

  •   JonasSmits replied privately
  •  2,979
    Andrew replied

    Hi Jonas,

    Use any of your email . We only need username and password only that allow us to login.

    Thanks.

  •   JonasSmits replied privately
  •   Andrew replied privately
  •   JonasSmits replied privately
  •  2,979
    Andrew replied

    Hi Jonas,

    Updated css like below and seems to have increase the fonts. You can still adjust in Salient > General settings 

    @media only screen and (max-width: 768px){
        .mob-font h1.vc_custom_heading {
        font-size: 20px!important;
        line-height: 40px!important;
        }
        
        .mob-font h2.vc_custom_heading {
        font-size: 18px!important;
        line-height: 30px!important;
        }
    }
    
    3371799224.png


    Hope this helps.

  • JonasSmits replied

    Yes for sure! Thanks Andrew!

  •   JonasSmits replied privately
  •  2,979
    Andrew replied

    Hi Jonas,

    To target specific element in a row the make sure you add a class name.

    3779016140.png


    Kind regards.

  • JonasSmits replied

    Hi Andrew,

    If I give a specefic element a 'class name' it does not work. 

    Only if I give the row a specefic 'class name' it works. 

  •  2,979
    Andrew replied

    Hi Jonas,

    The row has option to add extra class and not elements.

    Thanks.

  •   JonasSmits replied privately
  •  2,979
    Andrew replied

    Hi Jonas,

    The following will work since you have set in custom heading. It applies only in mobile.

    @media only screen and (max-width: 768px){
        .mob-font-3 {
        font-size: 20px;
        line-height: 40px;
        }
        
    }
    

    Kind regards.

  •   JonasSmits replied privately
  •   JonasSmits replied privately
  •  2,979
    Andrew replied

    Hi Jonas,

    The following css added in Salient > General settings > CSS/Script related is overriding.

    5053985521.png


    Hope this helps.