Use Attribute Selectors To Style Elements In Bricks Builder

  Рет қаралды 1,985

Aperture Digital Marketing

Aperture Digital Marketing

Күн бұрын

Пікірлер: 12
@DimitryChamy
@DimitryChamy Жыл бұрын
Wonderful!
@aperturedigitalmarketing
@aperturedigitalmarketing Жыл бұрын
Thank you! Cheers!
@dynamic-homepages
@dynamic-homepages Жыл бұрын
I just used it in a good case: with a switch button, I choose dynamically if I want to display one out of 2 blocks or not. so if the switch is off, my_awesome_custom_field:value shows 0 as a value. and with the data attribute, I target the class with [data-attribute="0"] and change the layout. so whereverIi hide, or display a section/block/ via a switch button, I can easily change the layout of other blocks that are shown =)
@aperturedigitalmarketing
@aperturedigitalmarketing Жыл бұрын
Way to go! Sounds interesting 🤔 that's like a multi step condition it sounds like?
@dynamic-homepages
@dynamic-homepages Жыл бұрын
giving the option to publish opening times, and adress and contact details. they are both in the same block. soif one of them is not existing via the switch button, and its not rendred, it looks little odd. so thanks to the data atributes and the values from the switch 0 and 1 i can adjust the css for each of the block parts. love it, first i was happy to saw kevin gearys video about data attributes, and your video gave me also new thoughts and where opening my brain like crazy =) @@aperturedigitalmarketing
@user-mfsc-2024
@user-mfsc-2024 Жыл бұрын
How do u put a gutenberg content into and styled by bricks ?
@AlwaysSlimShadyBro
@AlwaysSlimShadyBro Жыл бұрын
I am using attributes and ACF to set a custom header. My problem is I cannot set the attributes on a bricks template.
@noipowszystkim
@noipowszystkim Жыл бұрын
is it possible to control h tag type in Bricks via custom field?
@aperturedigitalmarketing
@aperturedigitalmarketing Жыл бұрын
Yes, actually...you can do this with HTML tag: custom and then select dynamic data on the custom tag input.
@aperturedigitalmarketing
@aperturedigitalmarketing Жыл бұрын
I modified my answer after looking more at the Bricks options.
@konstantinosntamadakis9439
@konstantinosntamadakis9439 Жыл бұрын
why not using comma to the selectors so it is less bloaded, like [data-bg-color="light"], [data-bg-color="light"] button,[data-bg-color="light"] span { background-color: var(-alert-color); color: var(white-color); } do I miss something?
@aperturedigitalmarketing
@aperturedigitalmarketing Жыл бұрын
You could do that if you want, sure. 👍🏻
Bricks: Build-Your-Own Fluid Typography Framework
41:27
Dave Foy
Рет қаралды 16 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Learn flexbox the easy way
34:04
Kevin Powell
Рет қаралды 742 М.
PB101: L17 - Pseudo Elements
50:17
Kevin Geary
Рет қаралды 10 М.
Nuejs : Standards first web framework - Tero Piirainen
43:57
Ido Evergreen
Рет қаралды 1,5 М.
Automatic BEM CSS Naming with Advanced Themer Class Converter
8:42
Aperture Digital Marketing
Рет қаралды 1,5 М.
Using Ansible with Terraform on Azure
30:14
Autodotes
Рет қаралды 206
Bricks Builder With Advanced Themer
40:54
Aperture Digital Marketing
Рет қаралды 2,7 М.
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 953 М.
Bricks Builder Image Scroll On Hover (2024 Update)
22:07
Aperture Digital Marketing
Рет қаралды 1,6 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН