Theming

Changing the Styling

Continuing with our example, we're now going to change the styling.

To keep things simple we'll just make the text italic.

Let's create the folder structure below and inside it create a file named custom.css

/comments/frontend/view/my_theme/stylesheet/css/custom.css

After opening custom.css, add the below:

						.cmtx_required_text {
						  font-style: italic;
						}
					

To know which selector to use, it's best to familiarize yourself with the Inspect Element feature of your browser.

This gives the result ...

Italic styling