Parallax Scroll by adamrob.co.uk
Extending with CSS styles
If you define a title and/or content, the following can be used to change the styles:
- "adamrob_parallax_posttitle" CSS Class
Use this class to alter the div the header is contained in. The class can be entered into your theme CSS or can be altered in the plugin css. Altering the plugin CSS will mean any future updates will overrite your code.
- "adamrob_parallax_postcontent" CSS Class
Use this class to alter the div the content is contained in. The class can be entered into your theme CSS or can be altered in the plugin css. Altering the plugin CSS will mean any future updates will overrite your code.
In addition, parallax' can be targeted directly using the ID of the parallax. This is usefull when you want to change the style of only 1 or a selection of parallax'
- "parallax_<"ID">_posttitle" ID
Replace <"ID"> with the ID number of your parallax you want to target (ie, the same ID number as used in the shortcode). Use this ID to alter the div the header is contained in for the specific parallax. The CSS can be entered into your theme CSS or can be altered in the plugin css. Altering the plugin CSS will mean any future updates will overrite your code.
- "parallax_<"ID">_postcontent" ID
Replace <"ID"> with the ID number of your parallax you want to target (ie, the same ID number as used in the shortcode). Use this ID to alter the div the content is contained in for the specific parallax. The CSS can be entered into your theme CSS or can be altered in the plugin css. Altering the plugin CSS will mean any future updates will overrite your code.