Customise Your Dynamic Data With CSS Pseudo Classes

preview_player
Показать описание
Are you ready to take your website design to the next level with some CSS magic? Dive into my latest tutorial, where I explore the power of CSS pseudo-classes and how they can dynamically enhance your site's design without complicating your HTML structure.

In this video, we specifically focus on the :before and :after pseudo-classes – potent tools that every web designer should have in their arsenal.

I demonstrate a practical use case using GenerateBlocks and GeneratePress, showcasing how effortlessly you can add a professional touch to your pricing display on a travel website, all with just a sprinkle of CSS.

Using Advanced Custom Fields, I insert dynamic data into the GeneratePress theme. Then, with the finesse of GenerateBlocks, I'll apply the :before and :after pseudo-classes to append additional text around this data.

This technique is perfect for adding "from" and "per day" to our listed prices, making our offers clear and appealing with minimal fuss.

By the end of our tutorial, you'll be well-versed in:

- Understanding what CSS pseudo-classes are and why they are invaluable for interactive design.
- Implementing the :before and :after pseudo-classes in GenerateBlocks to elevate your content presentation.
- Leveraging the Advanced Custom Fields plugin to handle dynamic data on your GeneratePress theme.

Whether you're new to web design or looking to refine your skill set, this video is tailored to help you harness the full potential of pseudo-classes with GenerateBlocks and GeneratePress. Don't miss out on these tips and tricks that will make your website stand out from the crowd!

#WebDesign #CSSPseudoClasses #GenerateBlocks #GeneratePress #AdvancedCustomFields #DynamicDataDesign #WebDevelopmentTutorial

Take your WordPress website and skills to the next level!

► The Essential Web Designer's Documents Pack
Looking to take your web design business to the next level? The Essential Web Designers Documents collection has got you covered! With handcrafted, professionally designed documents that have generated tens of thousands in revenue, you'll have everything you need to impress clients, streamline your workflow, and boost your bottom line.

► THE TOOLS I LOVE ◄
If you like what we do and would like to support us, please consider using these affiliate links when purchasing any of the plugins covered in our tutorials. Thank you for your support.

► EXCLUSIVE WPTUTS DISCOUNTS ◄

► MY PREFERRED HOSTING PROVIDERS ◄

► WORDPRESS VISUAL PAGE BUILDERS ◄

► WORDPRESS THEMES ◄

► WORDPRESS TOOLS ◄

► WORDPRESS PLUGINS ◄

► SUBSCRIBE ◄

► LETS CONNECT: ◄

Рекомендации по теме
Комментарии
Автор

:after and :before are pseudo elements aren’t they? Not pseudo classes 🤷‍♂️

SamFrysteen
Автор

::after and ::before are psuedo elements, not psuedo classes and they should have double colon instead of one.

franktielemans
Автор

Hadn’t tried custom css with meta data before…nice! Thank you for taking the time to make this video.😊

tjsayers
Автор

You can even add icons to buttons, for example if you want to add an icon for the add to cart button and you don't want to create a custom loop just for that.

arianhernandez
Автор

Really nice tips ! I go even further with it by replacing content. For traduction purpose, for example. I can change “add to cart” by “ajouter au panier”🇫🇷 with CSS Only, using after or before

v_gauther
Автор

That's great - thanks Paul. I assume a lot of page builders would have this built in with Prepend and Append type functionality?

danstevens
Автор

Really useful vid 👌 also where are your star wars pictures from? I need them!

ratty
Автор

This is great.. however the only thing to really consider is SEO, because you wouldn't want to do this for important SEO pieces of content...

steala
Автор

Would pseudo classes like this be the correct way to display 4 and a half stars for a custom value like "4.7"?

mc
Автор

Good tip Paul!!! By the way, do you have or are you going to do a tutorial on those query loops with ACF data. I am very interested. Thanks !!!!

DaniGoMu
Автор

Bricks would have had been a better builder than GB to showcase the power of Psuedo classes.
Bricks handles Psuedo classes really nice.

John.Rearden