• Resolved DebsWebs

    (@debswebs)


    I have created a gallery list page which is working great, but the individual gallery pages are placing a random sidebar at the bottom of the page below the gallery. I have read through all of the threads that address this problem. I have completely removed the <?php get_sidebar(); ?> line from both of the gallery template files. I have tried the overflow: hidden style as well as the float: left option. Nothing seems to make any difference. I don’t want the sidebars to appear at all. I’d like to have the individual gallery pages be full-width. Here is the link to my site and one of the pages with the problem: https://bayoucityflyersrc.com/index.php/gallery/dsma-powered-rc-area/.

    I would really appreciate any help you can provide.

    https://www.ads-software.com/plugins/gallery-plugin/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your query and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    To solve your problem, please add the following code to the end of the css file of your theme:

    .page-template-gallery-template #primary,
    .single-gallery #primary {
    width: 100%;
    }

    Sincerely,
    BestWebSoft Support Team

    Thread Starter DebsWebs

    (@debswebs)

    Hi,

    Thank you so much for the css styling you sent to make the gallery pages full width. It works perfectly.

    However, the sidebar content is still at the bottom of the gallery pages. Is there anything I can do to remove it from all of the gallery pages altogether?

    Here is the link: https://bayoucityflyersrc.com/index.php/gallery/dsma-powered-rc-area/

    Thanks is advance for your help with this issue.

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi again,

    Please add the following code to the previous:

    .page-template-gallery-template .content-area,
    .single-gallery .content-area {
    float: left;
    width: 754px;
    }

    .page-template-gallery-template #content,
    .single-gallery #content,
    .page-template-gallery-template .gallery_box_single.entry-content,
    .single-gallery .gallery_box_single.entry-content {
    width: auto;
    }

    After that, please go to the plugin settings page and set the value ‘3’ in the option ‘Number of images in the row’ and save changes.

    Regards,
    BestWebSoft Support Team

    Thread Starter DebsWebs

    (@debswebs)

    Hi,
    Thanks for the css code. That worked great to put the sidebar on the page where it belongs instead of at the bottom, but I don’t want a sidebar at all and I can’t get rid of it.

    Can you help me hide it altogether on the individual gallery pages?

    Thread Starter DebsWebs

    (@debswebs)

    Hi,
    I am still struggling with this issue. The theme developer is telling me that he can’t solve the problem because he doesn’t know what kind of custom post the individual galleries use. He told me to just turn the sidebars off in the theme layout section, but I need sidebars on some of my other posts and turning sidebars off theme-wide is not a solution for me. Can you add a choice to allow users to select sidebar options on individual galleries like you have for the main gallery page?

    Debbie

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Debbie,

    To solve your problem, please open gallery templates which are located in the folder with your theme (/wp-content/themes/catch-evolution-pro/gallery-single-template.php, /wp-content/themes/catch-evolution-pro/gallery-template.php), find a line <?php get_sidebar(); ?> and delete it. After that, please save changes.

    Maybe you made changes to templates of the plugin before and didn’t see results.

    Best Regards,
    BestWebSoft Support Team

    Thread Starter DebsWebs

    (@debswebs)

    Hi,

    Removing the <?php get_sidebar(); ?> code was the first thing I did (please see my first post from 2 weeks ago). It did not make any difference. The theme developer told me that if I can let him know what kind of custom post the individual galleries call, he can try to remove the sidebars for me. At least I think that’s what he means when he writes this: “if he says how to get layout option on those gallery then it will be fine. I can call that and change that.”

    Can you help with that?

    Thread Starter DebsWebs

    (@debswebs)

    Hi,
    I am still waiting on some sort of resolution to my problem. The theme developer is willing to help me solve this issue, but needs to know what custom post type or what format is used for the creation of the individual gallery pages. My site is ready to go live (today, Sept 30 was our target rollout date) except for this one problem and my client is getting very frustrated with me that I can’t get this resolved for them. Please let me know if this is something that we can solve or not so that if I have to abandon this plugin and find something else, I can proceed with that. I really don’t want to do that because this plugin is perfect for my needs and has exactly the functionality my client wants.
    Please let me know if you can help or not.

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Debbie,

    We checked again the HTML-structure of your page (https://bayoucityflyersrc.com/index.php/gallery/dsma-powered-rc-area/:).
    According to the code, the line <?php get_sidebar(); ?> still exists in the /wp-content/themes/catch-evolution-pro/gallery-single-template.php file. Please check again, maybe this line is in gallery-SINGLE-template.php file which is located in a folder with your theme.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter DebsWebs

    (@debswebs)

    Hi,
    OK. I feel like an idiot. I found the “get_sidebar” line still in my file. I don’t know what happened, but I have removed that line in the gallery and in the single gallery files. I must have removed it from a copy of the file or something. The file that I had open in my text editor did not have that line in it. So I closed everything down, restarted and re-opened the file and the “get_sidebar” line was there again. So I removed it again and now everything is working well. Thank you so much.

    Debbie

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi Debbie,

    We are glad that everything is fine now. Please feel free to contact our support team with any questions in future.

    Have a nice day.

    Sincerely,
    BestWebSoft Support Team

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Sidebar problem’ is closed to new replies.