Home › Forums › Front-end Issues › CHANGE FONT-SIZE AND COLOR › Reply To: CHANGE FONT-SIZE AND COLOR
Hello!
I thought I’d give you an example of CSS as this is what helped me understand it when I was learning.
If you wanted to set the CSS for your ‘ls’ div you would go to your style.css file and add this to it
.ls {
font-size: large;
color: red;
}
This would then change the font size and colour of all text inside the divs and sub divs.
If you wanted to be more specific you can call down the ul/li/a/img etc like so;
.ls ul li {
font-size: large;
color: red;
}
This would then only change the styles of your program field.
Sorry if you already knew all this but I thought it might be useful if not.
Thanks, Harry.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.