Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1278551
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! To have a space below the shortcode in the last one on the page, please add the following css code in the customizer, Appearance > Customize > Custom > CSS

    .blog .x-main .hentry:last-of-type  .my_shortcode, 
    .search .x-main .hentry:last-of-type  .my_shortcode, 
    .archive .x-main .hentry:last-of-type .my_shortcode {
        bottom: 30px;
    }

    Hope this helps. Please let us know how it goes.

    #1279478
    JfantasyBooks
    Participant

    It looks great! Last thing. How do I make it so that these shortcodes fit properly on mobile? Do you have the css for that?

    #1279562
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! You can make use of this code:

    .blog .x-main .hentry:last-of-type  .my_shortcode, 
    .search .x-main .hentry:last-of-type  .my_shortcode, 
    .archive .x-main .hentry:last-of-type .my_shortcode {
        bottom: 30px;
    }
    
    @media(max-width: 767px){
      .blog .x-main .hentry:last-of-type  .my_shortcode, 
      .search .x-main .hentry:last-of-type  .my_shortcode, 
      .archive .x-main .hentry:last-of-type .my_shortcode {
        bottom: 20px;
        position: relative;
        display: block;
        clear: both;
      }
    }

    Please let us know how it goes.

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