Forums

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

Home Forums CSS Background color for specific section of webpage

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #297153
    rg300
    Participant

    Hello, I am trying to change the background color of a certain area on my webpage, developed using the WordPress engine. The section contains expanding/collapsing content so I need the color to not be fixed at a certain height and width like some gradients are, I just need the color to start at right underneath the seperation bar and end when it touches the other seperation bar. But when one of the terms is clicked, I would like that color to expand along with the area if that makes sense.

    (Link to the page I am speaking about)
    https://massachusetts.revolusun.com/solar-faq-testing-page-2/

    I would like the area that contains “Terminology” to have a background of #f6f6f6 that expands if a term is clicked. I have tried using both section and div tags with specific IDs but to no avail. Any idea on how I would go about this? Thank you

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