Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1888636
Creating a different style for h1 when on tablet or mobile
Closed

Comments

  •  1
    Jennifer Reinfeld started the conversation

    Hello.

    I hope you are well.

    I see that you have an easy way to make the h1 font size different based on if someone is using a tablet or mobile device -  which is wonderful! Can you please let me know how I can create a different outline style for the h1 font - for when someone is using a tablet or mobile. 

    I am using an outline on the h1 font in the title section of the pages - which I love. But when the font is scaled down for smaller devices, the outline looks bad. Do you know how I can get rid of the outline when the text size changes for tablets and mobile?

    I am using this css code (which is working great for the desktop/laptop size):

    .page-title-title {
       -webkit-text-stroke: 1.1px #c29f00;
    }

    https://chosenstaging.wpengine.com/inspirational-quotes/ 

    Thank you so much! Codex Themes are the best wordpress themes on the market.

    Best wishes,

    Jennifer

  •  4,774
    Michael replied

    HI!

    pls. use following css, for example:

    @media(min-width:1200px){
    .page-title-title {
       -webkit-text-stroke: 1.1px #c29f00;
    }}

     

    6707465710.png
  •  1
    Jennifer Reinfeld replied

    Perfect. Thank you so much!

  •  4,774
    Michael replied

    Welcome! Have a nice day!