Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1050767
    eimkeith
    Participant

    For example: http://zuffenhaus.jkeithwalters.com/my-account/

    Can this be modified so as to narrow and center the content on desktop without affecting the product or shop pages?

    I’d like to do so to narrow the fill-in fields for Username, Password, etc. and keep it looking intentional.

    #1050776
    Rahul
    Moderator

    Hey There,

    Thanks for writing in!

    Do you mean to say you only want to narrow the field boxes on the page or the whole body content of the my-account login page?

    Thanks

    #1050957
    eimkeith
    Participant

    Hi! Either would be fine, but narrowing the entire body content would be nicer, I think.

    #1051232
    Jade
    Moderator

    Hi there,

    Please try to add this code in the customizer:

    .page-id-52 .x-main {
        width: 50%;
    }

    Hope this helps.

    #1052374
    eimkeith
    Participant

    That cleans up the width, thank you. Is there a way to move it back to where it was (back to the left) so that it is centered on the page?

    align: left; perhaps?

    #1052508
    Joao
    Moderator

    Hi There,

    Update the code above given to:

    
    .page-id-52 .x-main {
    width: 50%;
    margin-right: 15%;
    }
    

    Hope that helps,

    Joao

    #1052538
    eimkeith
    Participant

    Yes! turns out margin-right: 25% was my magic number, but that works perfectly.

    Thank you!

    #1052734
    Joao
    Moderator

    Great to hear it.

    Let us know if you need help with anything else.

    Joao

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