Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #911776

    Hi,

    I would like to put a 3/4 column in the middle of a page. Is this possible with a CSS?

    Thank you in advance!
    Best,
    Anton

    #911937

    Hey tonydobrevski,

    Can you show us with a screenshot please, what you want to make so we can understand?

    Best regards,
    Basilis

    #911966
    This reply has been marked as private.
    #911981

    well if you don’t be satisfied with 1/5-3/5-1/5
    i would use this nevertheless ( with space between columns) and gave to the sourrounding container a custom class
    i choosed here : oneeighth-threefourth-oneeighth

    and than i would adjust the width of the fifth-columns:

    
    .oneeighth-threefourth-oneeighth .av_three_fifth { width: 9% }
    .oneeighth-threefourth-oneeighth .av_three_fifth { width: 75% }
    #top .oneeighth-threefourth-oneeighth .av-flex-placeholder { width: 3% }

    see here the difference on normal 5th columns and your desired aim

    https://webers-testseite.de/3-4th-on-center/

    #912110

    Hi,

    Thanks for sharing @guenni007, did you try that out Anton?

    Best regards,
    Rikard

    #912426

    Hi,

    Unfortunately, it doesn’t work for me. I also tried the solution mentioned here ( https://kriesi.at/support/topic/how-to-center-a-partial-width-column-in-avia-layout-builder/ ) but it also didn’t work. Is there anything else I could try?

    Best,
    Anton

    #912439

    the link described above – you only wanted to have a container a bit smaller (75%) and centered?
    You dont want to place something left and right from it?

    than it will be easier to do this:

    place a 3/4 th column – give the custom class to it: three-fourth-centered

    do this to quick css:

    div.av_three_fourth.three-fourth-centered {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    see here https://webers-testseite.de/3-4th-centered/

    both methods will work if you read carefully

    #912557

    Hi,

    The last method worked perfectly! Thank you very much!

    Best,
    Anton

    #912636

    Hi Anton,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #915153

    Hi Rikard,

    Feel free to close the topic. Thank you for the help!

    Best,
    Anton

    #1056885

    Hi Guenn,
    I tried your solution but I think I’m missing a step. I placed this into the quick CSS:
    /* THREE FOURTH CENTERED COLUMN */
    div.av_three_fourth.three-fourth-centered {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    }

    Then added in the Edit Column Custom CSS Class field “three-fourth-centered”. Should the custom css class sit in the section color class field?

    #1057549

    Hi,

    You should add that class attribute directly in the column itself. Have you tried that?

    Best regards,
    Ismael

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