Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1011308
    Nicholas
    Participant

    Hello,
    I’m attempting to reduce left margin (OR float the non-sidebar sections) of Content-Left/Sidebar-Right templates. It works with Chrome inspector applying margin-left: -15vw !important; to any of the following: .entry-wrap, .x-main.left, .x-container>.offset, #cs-content … but does not work after saving in Cornerstone.

    For example, see this page

    Login credentials to follow

    #1011312
    Nicholas
    Participant
    This reply has been marked as private.
    #1011515
    Jade
    Moderator

    Hi Nicholas,

    Try adding the code in the CSS customizer instead. The code should be like below:

    @media (min-width: 768px) {
        .page-id-1117 .entry-wrap, 
        .page-id-1117 .x-main.left, 
        .page-id-1117 .x-container>.offset, 
        .page-id-1117 #cs-content {
            margin-left: -15vw !important; 
        }
    }

    Hope this helps.

    #1011551
    Nicholas
    Participant

    Thanks!

    Is there a difference between editing style.css for global customization vs using ‘Global CSS’ in Customizer? I’d prefer to edit in Atom directly via FTP if possible.

    #1011742
    Joao
    Moderator

    Hi there,

    There is no difference.

    Just make sure you use a Child Theme in order to keep your changes once your theme gets updated.

    Hope that helps,

    Joao

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