Changing the default background color (#ccccff) for .orbit-container in foundation 5

StackOverflow https://stackoverflow.com/questions/23285285

  •  09-07-2023
  •  | 
  •  

Frage

In Zurb Foundation 5, does anybody know how to change the default orbit container background of blue without going into app.css to change the background property for .orbit-container class?

The default code for orbit slider does not explicitly state .orbit-container, so it doesn't seem possible to change it inline.

Any ideas?

War es hilfreich?

Lösung

OK I did it myself.

Make a super <div> element to include that particular section and give it an ID. Then in CSS, do

.orbit-container  #(Given ID)
{
 background:(arguments)
}

This will help you change the orbit-container background for just the particular section (marked by ID).

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top