Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1373873

    How do I place text at the bottom of certain a 100% color section? Can this be a option to choose from in each section (top, middle or bottom?

    #1373962

    Hey Michael,
    Please try this css:

    .avia-section.av-minimum-height .container .content {
        vertical-align: bottom;
    }
    

    please see the test page linked below.

    Best regards,
    Mike

    #1373963

    That look good. But do I have control over it? I don’t want all sections whit the text on the bottom. Some I want text in the center or top. So can I place this css in the section itself?

    #1373964

    Hi,
    The middle alignment is the default, so you only need to assign the top & bottom.
    So use the custom classes text-bottom & text-top
    and this css

    .avia-section.av-minimum-height.text-bottom .container .content {
        vertical-align: bottom;
    }
    .avia-section.av-minimum-height.text-top .container .content {
        vertical-align: top;
    }

    Best regards,
    Mike

    #1373965

    Thanx Mike, this is clear – but it’s not working here. What am i doing wrong?

    #1373968

    Hi,
    Thanks for the screenshot, I see that you have added css to the custom class field, please only add the custom class that you want for the element in the field, like this:
    text-bottom
    or
    text-top
    note that there is no dot before the class, this is important.
    then in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field add the css:

    .avia-section.av-minimum-height.text-bottom .container .content {
        vertical-align: bottom;
    }
    .avia-section.av-minimum-height.text-top .container .content {
        vertical-align: top;
    }

    the css will only work on the elements with the custom class.

    Best regards,
    Mike

    #1373972

    Clear! Thanx Mike that is amazing!! I tested this, but how come that it is not completely at the bottom? No problem for now, just have to do some textual adjustments then :-) Int’t it better to in the child themes style.css or doesnt that matter?

    #1373974

    Hi,
    Glad this helped. the inner div .content has a top and bottom 50px padding:
    2022-11-26_007.jpeg
    if you want to remove this use this css instead:

    .avia-section.av-minimum-height.text-bottom .container .content {
        vertical-align: bottom;
        padding: 0;
    }
    .avia-section.av-minimum-height.text-top .container .content {
        vertical-align: top;
        padding: 0;
    }
    

    the results:
    2022-11-26_008.jpeg
    You can add the css to your child theme stylesheet if you wish, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1373978
    This reply has been marked as private.
    #1373979

    Wait Mike, if i only want to place the link whit the arrow at the bottom, can i place “text-bottom” in the CSS class of this text block as well?

    #1373981

    Hi,
    I found no issues with using the scroll down arrow and the text-bottom css.
    2022-11-26_009.jpeg

    Best regards,
    Mike

    #1373982

    Hi Mike,
    I am sorry – i mean can i also place this link (2) on the bottom and the text (2) on the top? Maybe by placing it in two separate 1/1 columns and gibing it text-top (1) and text-bottom (2) in the custom classes… see the image link below

    #1373985

    Hi,
    No, unfortunately not, the behavior of the inner content is set by the color section parent, not the inner elements.
    So for this we will need to start over, so we have a color section that is 100% height and two text elements inside:
    2022-11-26_010.jpeg
    and a custom class to each color section, either top-element or bottom-element
    2022-11-26_011.jpeg
    then use this css:

    .top-element {
        top: 0;
        position: absolute;	
    }
    .bottom-element {
        bottom: 0;
        position: absolute;
    }

    the result:
    2022-11-26_012.jpeg

    Best regards,
    Mike

    #1373986

    Mike, thanx for your help!! :-)

    #1373988

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘How do I place text at the bottom of a 100% color section?’ is closed to new replies.