Hi guys,
I am trying to position a button as in the following scrrenshot (current page I am trying to convert to GeneratePress): https://tinyurl.com/y6t6m36s
I have created an element and that uses the generate_before_main_content hook. Inside I put a container and styled a button to look like the round icon.
I am struggeling to get it positioned, so that the container the icon sits in doesn’t take any additional height on the page. I tried something like
.post-info-container {
z-index: 100;
position: absolute;
right: XXXpx;
top: XXXpx;
}
but that doesn’t work for different window sizes.
Can you help me?