• Resolved ___ELVIS___

    (@_elvis_)


    Hi,

    I would like to hide the “After Main Content” for individual, specific pages or posts.

    I would like to hide the Line “After Main Contenet”

    How can I do that?

    Thank you very much for your help

    • This topic was modified 7 years, 5 months ago by ___ELVIS___.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Please share your URL

    Thread Starter ___ELVIS___

    (@_elvis_)

    www (.) sascha-droemer (.) com

    Thanks for sharing the URL. The line “After Main Content” is actually a placeholder. You can replace this text by put your own text here. However, if you really want to hide this line, you can do it by going to Appearance > Customizer > Additional CSS and add the following line of code in there:

    #sidebar-after-main-content .widget-text .textwidget p {
       display: none;
    }

    Remember, the above code will hide any paragraph text (<p>...</p>) inside <div class="textwidget"></div> because you have specified all <p> tags to be made hidden in the above code. If you want to put something in there, you need to use different HTML element like <span> or <div>… meaning anything except <p>.

    Let me know if this helps to accomplish your goal.

    Thank you!

    Thread Starter ___ELVIS___

    (@_elvis_)

    thank you but the code doens′t work.

    Theme Author Ben Sibley

    (@bensibley)

    This is pretty similar to the code for hiding the search + social icons:

    .singular-post-44 .sidebar-after-main-content {
      display: none;
    }

    That hides the After Main Content widget area on a post with an ID 44.

    Thread Starter ___ELVIS___

    (@_elvis_)

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide “After Main Contenet” for pages and posts’ is closed to new replies.