-
daveporter
Hi everyone,
On the link below, there is a 4 column query loop, with fields from a CPT (ACF)
All working fine, but one thing that refuses to work is the padding on the text (headline)
Tried using a custom class as well as the block settings!
Any thoughts ?Also I’m not sure how to centre the buttons ?
TIA, Dave -
Hi Dave,
Try using GP’s headline block for the paragraph, so that you can set paddings for it.
-
daveporter
Thanks Ying, but it is a Headline (paragraph) block!
It has to be for that field to Enable Dynamic Data.Any further thoughts ?
The odd thing is that if I change the padding, I see it change in edit, but when the page saves and is viewed it is not respected!
TIA, Dave
-
Alvind
Hi there,
I see it change in edit, but when the page saves and is viewed it is not respected!
Sounds like a browser caching issue. I see from the browser inspector that the text has 10px left and right padding applied.
Also I’m not sure how to centre the buttons ?
Set the
margin-left
andmargin-right
of the button to auto. -
daveporter
Thanks Alvind, just 10 minutes ago I changed the Headline from a <p> to a <div> and that sorted it out!
And thanks for the button info!
Cheers, Dave -
Alvind
No problem!
- You must be logged in to reply to this topic.