Disable split screen for specific post

Home Forums Receptar Disable split screen for specific post

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21142

    nisaanwaar
    Participant

    Disable split screen for specific post

    Resolved

    Hey there! Have you noticed this support service is provided FREE of charge?
    If you like the speed and accuracy of resolutions, please consider supporting me with a small donation. Thank you

    Consider a donation →

    Hi, Amazing theme!
    We are launching a featured blog post and want it to be different than other posts and hence wanted to use full page space. is there any way we can do this? I have checked the page template solution, it doesn’t work for me for post id classes

    #21144

    Oliver Juhas
    Keymaster

    Hi nisaanwaar,

    Thank you, I’m glad you like the theme :)

    I don’t think this is possible to achieve in WordPress. Unless you find a way to apply a singular post tag/category (presuming that’s how you distinguish your featured blog from other blog posts) CSS class to be applied on HTML body.

    Anyway, here is a global custom CSS code to remove the split layout for singular posts:

    .is-singular:not(.home) .site-inner {
    	width: 100%;
    }
    
    .is-singular .entry-media {
    	position: relative;
    	width: auto;
    	height: auto;
    	right: auto;
    	top: auto;
    	margin-bottom: 5em;
    	background: none;
    }
    
    .is-singular .entry-media img {
    	visibility: visible;
    }

    This should get you started at least :)

    Best regards,

    Oliver Juhas
    WebMan Design

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

You must be logged in to reply to this topic.