Questions css styles changed after 4.0.0 update
-
The html structure of the accordion changed with this update.
Previously the structure was…<div class="accordion ui-accordion ui-widget ui-helper-reset"> <h3 class="ui-accordion-header ui-state-default ui-corner-all ui-accordion-icons"> <a href="">FAQ Question</a> </h3> <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"> <p>FAQ Answer</p> </div> </div>
And css styles for the FAQ Question was applied with the classes…
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited{...}
After the update the html structure is…<div class="accordion ui-accordion ui-widget ui-helper-reset"> <h3 class="ui-accordion-header ui-state-default ui-corner-all ui-accordion-icons">FAQ Question</h3> <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"> <p>FAQ Answer.</p> </div> </div>
So any custom css you have added to style the Questions should be referenced with the css selectors…
.ui-accordion .ui-accordion-header h3 { font-family: Arial; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Questions css styles changed after 4.0.0 update’ is closed to new replies.