You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that adding any other classes within the [row] shortcode results in the shortcode magic not working. The same thing happens with [col class="col-sm border"].
Is it possible to append my classes rather than replacing the row and col classes when the shortcode does its thing?
I can get around this by just manually adding row and col classes, of course, but I'm supporting/trying to hand management off to other folks who are pretty unfamiliar with HTML and CSS and are therefore more reliant on shortcodes.
The text was updated successfully, but these errors were encountered:
[row] was written intended to be used without additional CSS. We can look into keeping this in place on the shortcode.
That said, I recommend repeating the class if you're going to use more classes on [row].
For [col], the col class is redundant if you're declaring col-sm or any other size, which is why the shortcode automatically clears classes. We'll keep [col] as-is to avoid conflicting CSS.
I'd like to use some existing Bootstrap classes in a grid I'm creating via shortcode.
But this:
[row class="border border-dark bg-light]
renders as
<div class="grid border border-dark bg-light">
and not as
<div class="grid row border border-dark bg-light">
as I expected.
It seems that adding any other classes within the
[row]
shortcode results in the shortcode magic not working. The same thing happens with[col class="col-sm border"]
.Is it possible to append my classes rather than replacing the
row
andcol
classes when the shortcode does its thing?I can get around this by just manually adding
row
andcol
classes, of course, but I'm supporting/trying to hand management off to other folks who are pretty unfamiliar with HTML and CSS and are therefore more reliant on shortcodes.The text was updated successfully, but these errors were encountered: