Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1429467

    Hi,

    I’\m working on this website:

    Can you help me with the CSS to centre the footer in mobile view for it to behave in similar fashion to this website:

    Thanks,

    Harvinder

    #1429481

    Hey ballindigital,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all #footer .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%;
    	max-width: 90%;
    }
    
    .responsive #top #wrap_all #footer .flex_column.av_one_third:first-child {
        width: calc(50%);
        clear: none; 
    }
    .responsive #top #wrap_all #footer .flex_column.av_one_third:first-child .widgettitle {
    	width: 98%;
    }
    .responsive #top #wrap_all #footer .flex_column.av_one_third:nth-child(2) .widgettitle {
    	width: 100%;
    }
    .responsive #top #wrap_all #footer .flex_column.av_one_third:nth-child(2) #menu-item-1422 a {
    	padding-right: 0;
    }
    .responsive #top #wrap_all #footer .flex_column.av_one_third:nth-child(2) {
        text-align: right;
        width: calc(50%);
    }
    
    .responsive #top #wrap_all #footer .flex_column.av_one_third:last-child {
        width: 100%;
        text-align: center;
    }
    .wpcf7 .wpcf7-spinner {
    	display: none;
    }
    }
    

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1429666

    Hi – thank you :)

    This hasn’t seemed to have worked?

    #1429685

    Hi,

    Thank you for the update.

    Please try to add this code inside the css media query that we provided above.

    #footer .flex_column .widget {
        text-align: center;
    }
    

    Best regards,
    Ismael

    #1429743

    Yes that worked thank you.

    I’d prefer to stack them on top of each other rather then next to each other.

    Could you help me with this change please?

    Also – can we make the submit button full width?

    View post on imgur.com

    #1429753

    Hi,
    Please remove the css I posted and only use the css Ismael posted.
    Stacked on top of each other for mobile is the default behavior.

    Best regards,
    Mike

    #1429757

    That works thanks – what about making the submit button fullwidth?

    #1429776

    Hi ballindigital,

    I think you are using Contact Form 7 for that, so try adding this CSS code in Enfold > General Styling > Quick CSS:

    #top .wpcf7-submit {
        width: 100%;
    }

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.