Room around the title and "Posted by …"

  • Author
    Posts
  • #89117

    terradiciona
    Member

    Hi. I have 2 questions. On my site I’ve made not visible the image on the header of the single post and the written “Posted by …” but there is a lot of room around the title. Is it possible to have less room?
    Is it possible to make not visible the written under the title “Posted by …” just for some post, not for all?

    Here the page I’m referring to:
    http://terradiciona.com/2015/08/30/farina-di-farro-monococco/

    Thanks

    The blog I need help with is terradiciona.com.

    #89360

    yuriyportnykh
    Theme Author

    Hi.

    Is it possible to have less room?

    Please, use the following CSS code:

    #big_thumbnail {
        display: none;
    }
    
    .single .main-title {
        margin: -70px 0 20px -60px;
    }

    Is it possible to make not visible the written under the title “Posted by …” just for some post, not for all?

    Yes, it is possible. You just need to use unique body “post ID” class.
    Let’s say you want to hide “Posted by…” on this page: http://terradiciona.com/2015/08/30/farina-di-farro-monococco/

    If you browse the page source, you should see the following code:

    <body class="single single-post postid-1304 single-format-standard logged-in admin-bar no-customize-support mp6 customizer-styles-applied highlander-enabled highlander-light custom-colors">

    postid-1304 is the value you’re looking for.

    We can now use it to hide the meta information:

    .postid-1304 .meta-info {
        display: none;
    }
    #89387

    terradiciona
    Member

    Thanks, it’s working!

    #89388

    terradiciona
    Member

    Sorry, just something that is not working as I was expecting. About room on top, is it possible to do the same also for pages (not blog post)?
    http://terradiciona.com/vogliamo-raccontare-una-storia/

    Thansk

    #89396

    yuriyportnykh
    Theme Author

    Yes. Please, use the following code:

    body.page .entry-content {
        padding-top: 30px;
    }
    
    body.page .entry-content .main-title {
       padding-bottom: 0 !important;
       margin-bottom: 0 !important;
    }
    #89400

    terradiciona
    Member

    Fine, it’s ok. Thanks for your precious help.

    #89404

    yuriyportnykh
    Theme Author

    You’re welcome

The topic ‘Room around the title and "Posted by …"’ is closed to new replies.