[Resolved] Sections and bar display on the right

Home Forums Support [Resolved] Sections and bar display on the right

Home Forums Support Sections and bar display on the right

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1618113
    Alain

    Hello,
    To get a mobile view with good settings, I replace all pages of my site made with tables with sections.
    The only problem is that despite setting the page on “Side Bar right”, I get a full page view without the right bar.
    Can you tell me how I have to proceed to get the bar display right when I go with sections?
    Thank you for your help.
    Kindly,
    Alain

    #1618120
    Alain

    Here is the address of my site and the page displayed without a bar on the right despite the adjustment made.

    https://www.plume-de-poete.fr/evenements/

    #1618258
    David
    Staff
    Customer Support

    Hi there,

    to enable Sidebars when Sections are active requires a little PHP Snippet which this article provides:

    https://docs.generatepress.com/article/allow-sidebars-sections/

    #1618656
    Alain

    Thank you for your response and your help.
    I understood that you had to add a line of PHP code for displaying the bar but in which file and where in the file?
    I do not have much knowledge in this area, thank you for giving me detailed explanations. Kindly,
    Alain

    #1618743
    David
    Staff
    Customer Support

    This article explains adding PHP:

    https://docs.generatepress.com/article/adding-php/

    TLDR – choices are:
    1. If you’re using a Child Theme you add the snippet to child themes functions.php
    2. If you are not using a Child Theme, then install the Code Snippets plugin, this will add Snippets to your Dashboard, Add a New Snippet, paste in the code, and Save it – don’t worry about any of the other options.

    #1618783
    Alain

    Thank you so much for your help, I understood how it works and it works, I found my sidebar, it’s great!
    Well cordially,
    Alain

    #1619652
    David
    Staff
    Customer Support

    You’re welcome

    #1620178
    Alain

    Thank you very much!

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