Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Flexbox doesnt recognize second element

  • This topic is empty.
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
    Member

    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:

    https://codepen.io/godshin/pen/vwqvyP?editors=1100

    Thanks again!

    #289029
    kuroi
    Participant

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.