Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Denra.com

    (@denra)

    Hi @liftoffofficial ,

    Currently you can do this by simply applying the font and the style directly on your shortcode using the default WordPress editor (making sure in HTML mode that you do not place html in the middle of it and break the shortcode itself).

    OR you can use HTML and CSS around it directly in HTML mode and then add CSS to your style.css in the child theme. For example, you can put this in content:

    <span class="my-date-style-1">[wp-dt-date-time next="Mon 16:00"]</span>
    <span class="my-date-style-2">[wp-dt-custom format="D, M j, Y – H:i"]</span>

    and then:

    .my-date-style-1 {
       color:red;
       font-size:20px;
       font-weight:bold;
    }
    
    .my-date-style-2 {
       color:#008000;
       font-size:18px;
    }

    We are working on the coming Pro editin to make it easier for everyone to apply fonts, styles, and colors even without programming knowledge as a part of the shortcode. I am not sure if it will be fully available in the first release but will definitely come in future.

    Plugin Author Denra.com

    (@denra)

    Hello,

    Please let us know if we can close this thread. If we do not hear from you in the next days we will close the case as solved.

    Thank you for trying and using WP Date and Time Shortcode.

    Plugin Author Denra.com

    (@denra)

    Hello,

    I am closing this thread. Please re-open it or create a new one if you need more help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date and time font size’ is closed to new replies.