Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1006080
    venya
    Participant

    Hello,
    I’ve was working on minor style changes earlier today on sidebar, and then made some changes to style.css in my child theme.
    For some reason, most of my pages now have missing sidebars. The one page that does have a sidebar has the wrong one. I hope you can help me fix this…
    Here were the assigned pages and sidebars.

    About: ups-sidebar-product-categories

    Book Catalog:ups-sidebar-product-categories

    Publish: ups-sidebar-product-categories

    Multimedia:ups-sidebar-multimedia-portfolio

    News: ups-sidebar-news

    Contact: no sidebar

    2. I’m also having an issue in the blog with the post title appearing twice. I would like to deleted the lower one, and leave the upper (that’s more to the left) (see photo)

    It’s the same for Blog list and blog single.

    Thank you.

    #1006476
    Prasant Rai
    Moderator

    Hello Venya,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1006535
    venya
    Participant
    This reply has been marked as private.
    #1006575
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the credentials! You don’t have any widget in your sidebars that’s why they are not showing. Please add widgets to the sidebar to display sidebars on respective pages. To do this navigate to Appearance > Widgets

    Cheers!

    #1006658
    venya
    Participant

    Wow You’re right. That was simple. I had checked to see if my sidebars were in tact but did not think of the possibility that my widgets were all reset…

    All the settings for my sidebar were somehow lost! I re-setup all widgets in the sidebars again with exception of one page: About.

    1. For some reason it’s not showing the “ups-sidebar-product-categories” sidebar on
    http://www.bennyfromtheblock.com/about/

    2. I still have the issue of Blog having two titles. I would like to retain the one on top and remove the bottom from Archive and blog single pages.

    Thank you.

    #1006684
    Lely
    Moderator

    Hi There,

    1.) It is showing when I check. Please check attached screenshot. You might be seeing cache content. Try to clear browser cache.

    2.)Please update content.php file from this folder:/wp-content/themes/x-child/framework/views/integrity to the following code:

    
    
    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/CONTENT.PHP
    // -----------------------------------------------------------------------------
    // Standard post output for Integrity.
    // =============================================================================
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <?php x_get_view( 'integrity', '_content', 'post-header' ); ?>
      <div class="entry-featured">
        <?php x_featured_image(); ?>
      </div>
      <div class="entry-wrap">
        <?php x_get_view( 'global', '_content' ); ?>
      </div>
      <?php x_get_view( 'integrity', '_content', 'post-footer' ); ?>
    </article>

    You have added the post header at the top of featured image. We need to remove the other one at the top of content.

    Hope this helps.

    #1007775
    venya
    Participant

    Hello,
    Thanks for the help! I have now fixed my sidebars. It’s very frustrating that everything freaked out and disappeared.

    On the other issue, unfortunately, while your content.php code fixed the double post title issue in Blog, it now reversed a previous issue that I had fixed.

    My portfolio pages displayed as category archive are now missing the post titles.
    for example: http://www.bennyfromtheblock.com/multimedia-category/liberty-authors/

    This is was fixed by a kind rep themeco in post #994793.

    I believe everything was working fine before I encountered the sidebar error. I would be grateful for help in getting the titles restored (see photo)

    Lastly, would this be the correct code to adjust those title I need restored?

    .tax-portfolio-category .entry-title {
    font-family: “Lato”,”Helvetica Neue”,Helvetica,sans-serif;
    font-size: 22px;
    }

    Thank you!
    Regards,
    Ben

    #1008330
    Nico
    Moderator

    Hi There,

    Would you mind testing this code below to restore your title,

    @media (min-width: 980px)
    .tax-portfolio-category article > header {
        display: none !important;
    }

    Let us know how it goes.

    Thanks.

    #1011420
    venya
    Participant

    Hello,
    Tried the code and it didn’t do anything. I solved my problem by accident by completely removing content.php… even though it was needed earlier to solve a previous problem. I’m happy for the win, so not overly concerned with why!

    Now have an issue in my blog single pages – there’s a horizontal line above the post titles (see photo). How can I remove it?

    Thanks!

    #1011559
    Rupok
    Member

    Hi there,

    Thanks for updating. It’s because you have added the below code to hide the featured image :

    .single .entry-featured .entry-thumb {
      display: none !important;
    }

    You can use the below code instead :

    .single .has-post-thumbnail .entry-featured {
      display: none;
    }

    Hope this helps.

    Cheers!

    #1011665
    venya
    Participant

    Hello Rupok,

    Very impressed and grateful for the speedy response 🙂 !
    The code you provided did indeed fix the issue of the line above the single blog post titles, however… it also caused a problem in Portfolio Single pages: I had a video on each portfolio single page, and they have now disappeared…

    Thank you.
    -Ben

    #1012103
    Lely
    Moderator

    Hi Ben,

    Please update this:

    .single .has-post-thumbnail .entry-featured {
      display: none;
    }

    To this:

    .single-post .has-post-thumbnail .entry-featured {
      display: none;
    }

    Hope this helps.

    #1013191
    venya
    Participant

    This resolved the issue. Thanks again!

    #1013289
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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