Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Float a div to the topbar

Home / Forums / Pinnacle Theme / Float a div to the topbar

This topic is: Resolved
[Resolved]
Posted in: Pinnacle Theme
July 18, 2016 at 10:29 am

When I create a div class with an absolute position, it floats to the top of the content area. For this particular div, I’m interested in floating it to the very top of the browser window (over top of the 40px topbar).

I cannot use a topbar widget because it is a calculated field from an external database, so I can enclose the field in a div which is id/classed, but not built as a topbar widget.

.topcorner
{
top:0;
right:0;
height:40px;
position:absolute;
padding:10px;
}

This css floats to the top right of the content area below the topbar and header. Not what I was hoping for…

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.