Remove Sidebar and page name
-
Hello,
I want to remove the sidebar Archives from the sidebar. However, i have removed from the widgets but still the archive option is visible on the side and also want to remove the page name listed under every page.
I have 6 pages and on every page the page name is listed.
for example, when i click on Contact Us The very first line says Home/Contact Us. Same is the case with all the remaining pages, Home/Page Name with the grey background.
While i try to inspect the code it is showing me enigma_header_breadcrum_title. Please let me know how to remove it
My website is not live and i am trying on localhost.
Regards,
Amandeep Singh Deol-
This topic was modified 9 years, 6 months ago by
amandeepdeol1986.
-
This topic was modified 9 years, 6 months ago by
-
Hello
For removing sidebar –
first create child theme using given LINK
now copy single.php from main theme folder and paste in child theme folder after copy and paste open single.php of child theme folder go to line no.3 see codes
<div class="container"> <div class="row enigma_blog_wrapper"> <div class="col-md-8"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php get_template_part('post','content'); get_template_part('author','intro'); endwhile; else : get_template_part('nocontent'); endif; weblizar_navigation_posts(); comments_template( '', true ); ?> </div> <?php get_sidebar(); ?> </div> <!-- row div end here --> </div><!-- container div end here -->replace it with below code
<div class="container"> <div class="row enigma_blog_wrapper"> <div class="col-md-12"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php get_template_part('post','content'); get_template_part('author','intro'); endwhile; else : get_template_part('nocontent'); endif; weblizar_navigation_posts(); comments_template( '', true ); ?> </div> <?php //get_sidebar(); ?> </div> <!-- row div end here --> </div><!-- container div end here -->and save file
For page name removing –
Please go to Admin Dashboard >> Appearance >> Customize >> Theme Options >> Theme general Options.
Now, copy below code and paste into Custom CSS.
.enigma_header_breadcrum_title { display: none !important; }Let us know for further query.
Thanks for your reply.
May i know the reason to put !important, what does it mean. I tried inserting the code without important and it worked.
Regards,
Amandeep Singh Deolhii Amandeep
!important is used to override the CSS. So that the other is not conflicts with this !important CSS.
Thanks a lot š
It means that the preference is given to that code of line which contains !important.-
This reply was modified 9 years, 6 months ago by
amandeepdeol1986.
Hello,
I pasted the above code to remove the Archives sidebar under single.php file by creating a child theme. However, it is not working. I tried to inspect the code for archives and below is the code from where it is taking the whole code:
<div class=”col-md-4 enigma-sidebar”>
<div class=”enigma_sidebar_widget”><div class=”enigma_sidebar_widget_title”><h2>Archives</h2></div>-
<li data-original-title=”” title=””>November 2016
</div></div>
Please provide me the suggestion asap.
Regards,
Amandeep Singh Deolif it is not work in child theme you can copy and paste code in main theme folder single.php.it will work.
thanks
Hello,
It is still not working.
Regards,
Amandeep Singh DeolHello,
Please contact us here weblizar
Hello,
I contacted on the portal and submitted my query under the message section.
For your reference, i have attached the screenshot.

Regards,
Amandeep Singh DeolYou rock š
It worked as per my requirement.
Thanks a lot.
Your most welcome Aman.
-
This reply was modified 9 years, 6 months ago by
The topic ‘Remove Sidebar and page name’ is closed to new replies.
