error graphene has automatically switched the layout of this page

  • mvacelet

    #51032

    Hi
    After the update of the theme I have the following errro: Graphene has automativally switched the layout of this page to single column due to wide or full-width block being used in the content.

    Can you tell me where I can modify the width of the block being used in the posts? I don’t find it.

    Thanks

    Admin

    Syahir Hakim

    #51033

    Please provide the URL to the page or post where this is occurring so that we can take a look.

    Admin

    Syahir Hakim

    #51037

    Is there any specific page where this is happening? Or does it occur only on front page?

    mvacelet

    #51038

    it happens only on the front page

    Admin

    Syahir Hakim

    #51040

    Try the following steps:

    1. Go to WP Admin > Appearance > Theme Editor. Make sure that Graphene is selected as the theme to be edited.

    2. In the files selection on the right hand panel, click on the inc folder to expand it. Then click on the file loop.php.

    3. In the code editor, scroll to line 1256. Replace that line from the original:

    if ( $post || $post_id ) {
    

    to this:

    if ( is_singular() && ( $post || $post_id ) ) {
    
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!