Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1114101
    helloenjoi
    Participant

    Ive started with the agency demo theme,

    i renamed the portfolio page to projects. I am attempting to remove the sidebar which shows recent posts/comments/archives.

    I edit the “view/ethos/template-portfolio” to remove the code for sidebar.

    http://www.ekndevgroup.com/projects/

    i made a new page and use the same template and i get a completely different look!

    http://www.ekndevgroup.com/test-portfolio/

    i like the look of the first with the text but id like to remove the sidebar similar to the second. Does the agency theme contain custom code that points somewhere else. how does it accomplish this for that single page? If it does where can i edit to change the look completely for this page?

    Thanks,

    #1114169
    Rahul
    Moderator

    Hey There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1114177
    helloenjoi
    Participant
    This reply has been marked as private.
    #1114294
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the credentials. The projects page http://www.ekndevgroup.com/projects/ looks like a portfolio archive page. To remove a sidebar from this page, add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .post-type-archive-x-portfolio .x-sidebar.right {
        display: none !important;
    }
    .post-type-archive-x-portfolio .x-content-sidebar-active .x-container.main:before {
        right: 0% !important;
    }
    .post-type-archive-x-portfolio .x-main {
        width: 100% !important;
    }

    Let us know how this goes!

  • <script> jQuery(function($){ $("#no-reply-1114101 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>