Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1221477

    Generally, textblock will sit vertically in center of grid row cell within color section.

    I would like the textblock — which includes a large button — to go to BOTTOM of the color section.

    Can you tell me how to do this with css?

    I tried vertical-align:bottom!important; — didn’t work.

    Tried with absolute position per below — but doesn’t work right.
    div.flex_cell .av_one_half{
    /* width:10em;*/
    height:100%!important;
    /* height:400px!important; */
    position:relative!important}
    #top div.avia_textblock a { position:absolute!important;;
    bottom:0!important;}

    Am trying to duplicate lopk of this – with purple block on left, green, purple and yellow block on right.
    https://www.harrys.com/en/us

    Can you tell me how to do this?

    Thanks!

    #1221479

    Sorry…that would not include a …
    should have been #top div.avia_textblock{….

    #1221725

    Hi CharlieTh,

    Could you post a link to your site so that we can have a closer look please? Also please point out which elements you are trying to target.

    Best regards,
    Rikard

    #1222377

    Rikard, I found out PART of my problem. I had Grid Row (not color section, sorry), containing two cells. Each cell contains a textblock (which also includes within it a button).

    The part of the solution that I was able to find was that the CELL includes a vertical align dropbox…and I had chosen middle. I now have chosen bottom and the textblock went down further in the cell.

    However — it doesn’t go down far enough. The bottom of the image is dark — and is better contrast to the type.

    I would like to know the css that will drop the textbox even lower on the cell/image to where the dark purple is (on the left one, anyway.)

    Can you tell me how to move the textblock/button down further, please?

    Here is my tester page at present:
    https://goodnewsfortheworld.com/halved-page-with-columns-tester/

    #1222443

    Hi,

    Thanks for the update. It looks like you have applied 150px of padding to your cells? If you add a smaller number to the bottom value, then your text blocks will go down even further.

    Best regards,
    Rikard

    #1223561

    I think a gremlin crept into my browser and changed that! You are 100% correct. Haven’t changed it yet, but see exactly where to change it. Really puzzled as to when I changed that — but I certainly did!

    Thanks for your insight, Rikard. Problem solved.
    Now I just need to get rid of that gremlin!

    #1223679

    Hi,

    Those gremlins are hard to get rid of :D

    I’m that that we could help you out at least. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1225581

    You can close. It’s solved!

    #1225619

    Hi CharlieTh,

    Great :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Force Text Block to bottom of Color Section’ is closed to new replies.