Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #78539
    Vitaliy
    Member

    Hello!

    Can I change font size of post title separately on home page and post pages?
    How can I limit quantity of last posts on home page?

    Thanks!

    #78562
    Sakin
    Keymaster

    @Vitaliy: Please post in your site URL and let me know you desire font size for homepage and rest of the pages. Then I can check in your site and send you custom css.

    #78590
    Vitaliy
    Member

    http://gintel.ru

    Font size of post title on home page must be the same as a font size of featured images title.
    The quantity of posts on home page must be chosen by me manually (for example 6).

    #78592
    Vitaliy
    Member

    Can I add to post title on home page (only) rubric name, for example:

    News: Today we…

    where “News:” is rubric name.

    #78595
    Sakin
    Keymaster

    @Vitaliy:
    1. To change the font size, you can add the following css in “Appearance => Theme Options => Custom CSS” box:

    .home .entry-header .entry-title {
    	font-size: 20px;
    	font-size: 2rem;
    }
    @media screen and (max-width: 960px) {
    	.home .entry-header .entry-title {
    		font-size: 18px;
    		font-size: 1.8rem;
    	}
    }

    2. the quantity of post in homepage is controlled from your “Settings => Reading”. There is no option to controlled just for homepage.

    3. I don’t get it what you mean rubric name.

    #78818
    Vitaliy
    Member

    “I don’t get it what you mean rubric name.”

    I mean “post category”. I want add post Category to post title at home page. Thanks fo quick reply.

    #78866
    Sakin
    Keymaster

    @Vitaliy: That option is not there. So, you need to build child theme and then modify the loop functions.

    There are post in your home page. One you have Featured Content Section and Another is latest posts. So, you might need to hire customizer to work on this.

    Firs, you can download child theme from http://catchthemes.com/blog/create-child-theme-wordpress/ and then copy content.php file to your child theme and then add your category code before <h1 class="entry-title"> title tag.

    #79006
    Vitaliy
    Member

    Ok, I understand that. Unfortunately, I am not a php-programmer, so is there is a possibility to show me what code I must add? May be this is a commercial service? I have a simple task: add post category to post title.
    Thanks.

    #79025
    Sakin
    Keymaster

    @Vitaliy: You need to know about WordPress function for this level of customization. See this https://codex.wordpress.org/Function_Reference/get_the_category_list . IF not then you need to consider hiring customizer.

    #79059
    Vitaliy
    Member

    It seems I have done it 🙂 Thanks! Topic has closed.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Font size of post title on Home page’ is closed to new replies.