- This topic has 2 replies, 2 voices, and was last updated 3 years, 9 months ago by .
- The topic ‘Widget Genesis – Featured Page apply styling to an individual widget’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hey there I am using Enteprise-Pro, and the product owner wants to use 4 Featured Page widgets, which means three appear in a row, and the forth appears left-aligned on the next row.
I'd like to center that forth widget, but I've not been able to target any custome .CSS as the nature of the Widgets panel doen't allow me to apply custom .CSS classes.
Is there a hack or something people have been using to do this?
Many thanks in advancehttps://staging.nomess.com.au/
There's at least 2 methods :
1. You can inspect the element to find the id class to target the widget using the id #featured-page-6.
2. You can also use nth-of-type https://www.w3schools.com/cssref/sel_nth-of-type.asp
© 2024 WPEngine, Inc.