error graphene has automatically switched the layout of this page

  • mvacelet


    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.



    Syahir Hakim


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


    Syahir Hakim


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



    it happens only on the front page


    Syahir Hakim


    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.