Join our new community forum for support & discussion

Join Now

Home Support Themes RentalHive Font size in desktop and mobile

Font size in desktop and mobile

  • Author
    Posts
  • Felo

    Hello, in my opinion, I think you should give users the capability to change font size in the customizer the way you have allowed font type. That said is there a way one can change the font size as they are too big, especially on the marketplace/listing pages? Both desktop and mobile.
    Otherwise thank you for a good job.

    Seegon

    Download a plugin called Code Snippets

    Enter this line of code there:

    add_action( 'wp_head', function () { ?>
    <style>
    	
    	.hp-listing--view-block .hp-listing__content {
    	font-size: 18px;
         	}
    );	
    
    </style>
    <?php } );

    Should make the font size 18px. You can also add color: #FFFFFF, background-color: #FEFEFE and so on to customize it further.

    Felo

    Thanks, Seegon, however, I was concerned about this page Screenshot. The code is not working on similar pages.

    yevhen developer

    If you want to change font size for listing manage menu items you can try this CSS snippet

    .hp-template--listing-view-page .hp-menu--listing-manage li{
    	font-size: 20px;
    }

    Or if you want to edit another elements on single listing page I will be glad to help you

    Felo

    Sorry, I meant the tittle and not the menu items

    yevhen developer

    Please try this CSS snippet. Please just change 20 with font size by your requirements

    .hp-template--listing-view-page .hp-listing__title{
    	font-size: 20px;
    }
    Felo

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.