layers_inline_styles()

Since: 1.0 Last Updated:
Back to Main Index

Generates styles from Widget options and Advanced CSS and applies them to the defined parent selector’s container.

Location: /core/helpers/template.php

Parameters:

  • Parent selector – The containing element we are targeting. This should be an ID.
  • CSS property – The property to set.
  • An array including our selectors and property values. – In the selector setting example, we are using the classes for selecting the widget title and excerpt elements

Usage: