single page view
-
Hi!
So I installed this plug-in and I really like it, but the problem is I have a Sidebar on my single page view and I’d like to get rid of it. I’ve tried looking on my theme’s support forums to get rid of the sidebar from all new generated pages but they say I need a Child Theme, but I’d like to know if there’s a way to do it with custom CSS on my actual theme.
I read some posts where it said to create a page ie single-news.php and copy the single-page.php code and customize it in there. I did this, only I named it content-single-news.php since I had content-single.php. As soon as I created the new file my page went blank, and no matter what I did to the new file it kept on being blank.
On the other hand, the first thing on my content-single.php file, refers to the sidebar and it goes like this:
global $virtue_sidebar; if( kadence_display_sidebar() ) { $virtue_sidebar = true; } else { $virtue_sidebar = false; }
I am really new to coding but I think this means you have an option of showing the sidebar or not, which I have when creating my general posts on the page, but it’s nowhere when creating a news post. So I don’t know if there’s a way to show the option of sidebar or no sidebar on a new sigle news item page.
I can’t really share a page to my link since I’m working on a localhost while I finish creating it, but anything I can show to help please let me know.
Thank you
- The topic ‘single page view’ is closed to new replies.