I need to put two buttons in one line reversely.
I tried following code, but no changes, they are still in two lines.
Would you please let me know how to solve this?
Existing code:
<form class="acf-fields">
<div class="1"></div>
<div class="2"></div>
<div class="custom-warp-button">
<div class="acf-form-submit">
<div class="acfef-submit-buttons">
<input type="submit" class="acfef-submit-button" value="Sbumit">
</div>
</div>
<div class="save-progress-buttons">
<input formnovalidate="" type="submit" class="save-progress-button" value="Save Draft" name="save_progress">
</div>
</div>
</form>
Code I trid:
.acf-fields div.custom-warp-button {
display: flex!important;
flex-direction: row-reverse!important;
}
Thank you.
2
Answers
Change CSS
https://jsfiddle.net/lalji1051/xz0dcfn9/4/
They shown in one line for me: