From the course: WordPress: Advanced Custom Fields
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Styling the repeater - WordPress Tutorial
From the course: WordPress: Advanced Custom Fields
Styling the repeater
- [Instructor] Now that our resume information is displaying on our profiles, it's time to use some CSS to style it. We're going to copy this CSS from the style.css file in the exercise files for this video. And then we'll paste them in our child themes style.css file right below the styles we added earlier. We're doing a few things here, again based on the classes that we've added to our resume fields. Since we added a container div called resume, we can target the entire section, and we add a bottom border as well as a top margin to space things out a bit. Since we added both the date and the title in the heading for tag, we're going to target the date span and then float it to the right. And finally, we're going to make the simple description stand out a little bit from the full description which is a WYSIWYG edit. If we save this, and then go to the front end of our website, we'll refresh the page, and you can see that things look a lot better. We have very clear sections for each…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Exploring advanced features of ACF2m 57s
-
(Locked)
What is repeatable data?2m 15s
-
(Locked)
Creating a repeater field3m 50s
-
(Locked)
Displaying the repeater in your theme5m 10s
-
(Locked)
Styling the repeater1m 29s
-
(Locked)
Coding a front-end submission form5m 37s
-
(Locked)
Creating the submission form page2m 8s
-
-
-
-