Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #679745

    Foudn this code from a 2013 thread asking the same question but it doesnt work, is the syntax invalid with the newer version of enfold? also im using 4 footers, just a matter of changing the number to 4 i presume?

    #footer .flex_column.av_one_third:nth-child(1) {
    width: 20%;
    }
    
    #footer .flex_column.av_one_third:nth-child(2) {
    width: 45%;
    }
    
    #footer .flex_column.av_one_third:nth-child(3) {
    width: 20%;
    }
    • This topic was modified 8 years, 2 months ago by yingyang.
    #681299

    Hey kilimats,

    Please try the code as following

    #footer .flex_column:nth-child(1) {
    width: 20%;
    }
    
    #footer .flex_column:nth-child(2) {
    width: 45%;
    }
    
    #footer .flex_column:nth-child(3) {
    width: 20%;
    }

    If that does not help, please post the link to your website and elaborate on the changes you would like to make.

    Best regards,
    Yigit

    #681416

    thanks, it appears to be working, im having a hard time lining them up the way i want, when i use a low number like 10% it doesnt shrink that much and sometimes it isnt centered, what is the best practice? is 100% the total for all footer?

    #681419

    Hey!

    Can you please post a screenshot showing the changes you would like to make and link to your website?

    Cheers!
    Yigit

    #681421

    Thanks see private

    #681424

    Hey!

    Please add following code to Quick CSS

    #footer .flex_column:nth-child(1), #footer .flex_column:nth-child(3) {
        width: 15%;
    }
    #footer .flex_column:nth-child(2), #footer .flex_column:nth-child(4) {
        width: 30%;
    }
    #footer .flex_column {
        margin-left: 3%;
    }

    It will set 1st and 3rd column to 15% and 2nd and 4th ones to 30%.

    Regards,
    Yigit

    #681427

    this is what i see when i add the code

    #682662

    Hi!

    Please change the code to following one

    #footer .flex_column:nth-child(1), #footer .flex_column:nth-child(3) {
        width: 15%;
    }
    #footer .flex_column:nth-child(2), #footer .flex_column:nth-child(4) {
        width: 24%;
    }
    #footer .flex_column {
        margin-left: 3%;
    }

    Regards,
    Yigit

    #682668

    Almost, the footer 1 is too wide and 4 too narrow still, i tried adjusting the % myself but odly only footer 3 got shrinked, footer 1 remain narrow

    #683801

    Hi,

    Logins i found on another thread did not work so i could not apply the changes.
    However all you need to do is to adjust the values as needed

    #footer .flex_column:nth-child(1) {
        width: 24%;
        margin-left: 0;
    }
    #footer .flex_column:nth-child(2) {
        width: 21%;
        margin-left: 3%;
    }
    #footer .flex_column:nth-child(3) {
        width: 25%;
        margin-left: 3%;
    }
    #footer .flex_column:nth-child(4) {
        width: 20%;
        margin-left: 3%;
    }

    I did not check these values, they should be equal to 100% in total otherwise one column would be pushed to second row. Please experiment with the values until you find desired ones.

    Best regards,
    Yigit

    #683826

    I tried playing with the different % but no matter what i couldnt get footer 1 reduced for some reason, it seems to be fixed size

    Can you get it looking like that?

    #684175

    Hi!

    There were some CSS errors in your quick CSS field, i fixed them so now the code in the bottom of Quick CSS will work correctly. Please make the adjustments now

    Regards,
    Yigit

    #684237

    perfect, i increased the footer 4 a bit and its perfect now thanks

    #footer .flex_column:nth-child(1) {
        width: 15%;
        margin-left: 0;
    }
    #footer .flex_column:nth-child(2) {
        width: 25%;
        margin-left: 3%;
    }
    #footer .flex_column:nth-child(3) {
        width: 15%;
        margin-left: 3%;
    }
    #footer .flex_column:nth-child(4) {
        width: 35%;
        margin-left: 3%;
    }
    #684246

    Hi!

    Great!
    Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Choose how wide each footer is’ is closed to new replies.