I have created a page using the "Advanced Custom Fields" Plugin and everything is working great except that when I add href url in the field text it doesn't show nicely on Front-end and break the layout: .
The field in question is the Repeater field. Does anyone know how to fix it? I appreciate the help!
I have created a page using the "Advanced Custom Fields" Plugin and everything is working great except that when I add href url in the field text it doesn't show nicely on Front-end and break the layout: http://prntscr/qtihpj.
The field in question is the Repeater field. Does anyone know how to fix it? I appreciate the help!
Share Improve this question edited Jan 30, 2020 at 5:35 Sheryl asked Jan 27, 2020 at 13:54 SherylSheryl 428 bronze badges 2 |1 Answer
Reset to default 2Its because the wrapper around that text block is set to display: flex;
.
You could override this by adding the following CSS...
.special-list .right-text {
display: block;
}
You can add this in Admin > Appearance > Customize > Additional CSS
You might want to add this and then test other pages that use this code to make sure it doesn't break anything else.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744790951a4593912.html
<a>
tag to bedisplay:block
or something similar. Inspect the element with dev tools to find out where the styling is coming from. – WebElaine Commented Jan 27, 2020 at 14:54