Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

CSS is ruining my life

  • 26-06-2024 11:51AM
    #1
    Registered Users, Registered Users 2 Posts: 1


    Hi folks, I've a site I'm working on, but can't seem to force the announcement banner that I've coded from scratch to appear "over / on top of" the header section for a reason I can't seem to find.

    Can I upload the code I have to see if someone else can spot the error. It is there if I pull the screen down, but can't seem to force it to the front of the site.



Comments

  • Registered Users, Registered Users 2 Posts: 4,803 ✭✭✭bennyx_o


    Sounds like it could be something simple but without seeing the code I can't tell for sure. If you want to post the code or put it in CodePen or similar so we can see the issue and I'm sure someone can help.



  • Registered Users, Registered Users 2 Posts: 2,208 ✭✭✭nomdeboardie


    Have you tried ChatGPT (and/or Gemini, though former seems to be more reliable in my experience)? I've been using it for troubleshooting small LeetCode/HackerRank-type snippets, though I don't know if it would be useful for frontend code - but maybe worth a try.



  • Registered Users, Registered Users 2 Posts: 9,587 ✭✭✭DublinWriter


    z-index?



  • Registered Users, Registered Users 2 Posts: 1,802 ✭✭✭cormee


    You need to position the container and set the z-index



Advertisement