[Support request] custom post type single adding “full-width-content” class to single body

Home Forums Support [Support request] custom post type single adding “full-width-content” class to single body

Home Forums Support custom post type single adding “full-width-content” class to single body

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1463223
    Josh

    I can’t seem to figure out why the generate press is adding “full-width-content” to my single page body class on of my custom post type.

    For clarity, I do like the full width and no sidebar, but I wanted to add containers to my content rows with “grid-container container”. On my homepage this works, however because of the full-width-container class, generate press removes the max-width of my content with this selector:

    
    .full-width-content .container.grid-container {
        max-width: 100%;
    }
    #1463225
    Josh

    I forgot to mention I added this to my functions.php to remove the sidebar. I want full-width, but need to be able to add content containers so it doesn’t go to the very edge.

        if ( is_singular('al_event') ) {
            return 'no-sidebar';
        }
    #1463315
    David
    Staff
    Customer Support

    Hi there,

    your site requires a login – can you share in the Private Information box in your reply.

    #1464005
    Josh

    shoot. sorry about that

    #1464064
    David
    Staff
    Customer Support

    Is that built with HTML ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.