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

Troubles with image + div box!

Home / Forums / Virtue Theme / Troubles with image + div box!

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
January 22, 2015 at 9:50 am

Hello,

I’m having troubles with a div box not staying on the same line as an image.
If a login is required to view I’ll post it privately.

This is the CSS cost for the box:

.mybox {
width: 80px;
height: 63px;
background-color: #66cc33;
text-align: center;
display: inline-block;
vertical-align:-25px;
}

and this is the text containing the image + displaying of the div box.

<img src=" alt="" ><div class="mybox">
<font size="5" color="#ffffff"><strong>Test Text</strong></font><strong>Test Text</strong></div>

This code is placed inside a Virtue Shortcode Column.

/Andreas

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