Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1159992
    pdopchev
    Participant

    Hi guys,

    Trying to display the bottom and top x-colophon in a more stylish way, maybe have less padding between the top and bottom elements. Any ideas?

    Thanks!

    link:https://rompskis.com/

    #1160286
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    footer div#x-section-7 {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .x-colophon.bottom {
        padding: 1% 0;
    }

    Hope that helps.

    #1161699
    pdopchev
    Participant

    Hi, thanks for the help!

    footer div#x-section-7 {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    This only takes care of the padding on the front page. Is there a way to make it global for the widget area throughout the whole website?

    #1161723
    Thai
    Moderator

    Hi There,

    Please also add the following CSS:

    .cs-content .x-section:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    Hope it helps 🙂

    #1161742
    pdopchev
    Participant

    Great, it works perfectly!

    One more thing about the footer – trying to center the “Sign Up Here” button. Any ideas how to do that?

    The code for the button was put in the widget and is:

    <div style="align:center;" "class="x-btn-regular x-btn-block x-btn-x-large">
    <a href="#my-content" class="product_lightbox x-btn" data-content="Launch form!" data-type="inline">Sign Up Here</a>
    </div>
    	
    <div id="my-content" style="align:center; display: none; width: 600px;">
    [x_subscribe form="1492"]
    </div>
    
    [lightbox selector=".product_lightbox"]

    I did add “align:center” to the divs but it doesn’t seem to be working…

    #1161774
    Darshana
    Moderator

    Hi there,

    Please correct align:center; as follows.

    text-align:center;

    Hope that helps.

    #1161802
    pdopchev
    Participant

    It did the trick, thank you!

    #1161830
    Thai
    Moderator

    You’re most welcome 🙂

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