Hi,
I have two elements added in the “After content” hook. One has priority 10 other 20. Still both are overlapping on each other. See it here- http://cloud.wpfy.org/3ad81d
Another thing is I have added the sub box via HTML. How ever it’s width is smaller than author box. Which I can’t remember specifying in css- You can view HTML and CSS of sub box here-
I have updated the modal class to something different & updated the html and css accordingly. However this didn’t fix the issue.
Here is the updated css and html I am using – css & html
Sub Box is actually the correct size, it is fitting within the max-width you have specified for the content.
Whereas the author box is larger then it should be due to the 3% padding added to the author-box container. To reduce the author-box to the same size you would give it the box-sizing: border-box; property.
Making the Sub Box bigger would mean making some adjusts to the HTML and CSS.