Skip to main content

Forums

This topic contains 3 replies, has 2 voices, and was last updated by  kuroi 2 weeks, 3 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #289021

    kuroi
    Participant

    Hello there!

    Im new to this forum so I dont know how to post code here…
    So Im new to flexbox and trying to realise a simple layout, where
    my list of articles begins under my slider, but the second element
    (my list of articles) seems to not be a direct child of my flex
    although in the html its just the slider and the articles each in
    their own div and the whole thing inside my flex-div

    I would post code but didnt find a way to do so…

    The website is: https://demokratietalk.at/

    Im grateful for any advice

    Thanks, Alex

    #289022

    Paulie_D
    Moderator

    A brief code example would be ideal in Codepen.io

    That said a flexbox container probably won’t recognise an absolutely positioned element unless it has position:relative applied to the container.

    #289023

    kuroi
    Participant

    Ok, thanks but the slider with absolute positioning can be manipulated as a flexbox element.

    I wrote a codepen minus the php and since Im working with wordpress this doesnt show much:

    Thanks again!

    #289029

    kuroi
    Participant

    So your origianal tip with position relative worked; thanks :-)!!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star