Datastorm1989
Datastorm1989

Reputation: 67

Shopware 6 - Set manufacturer logo fixed position

the manufacturer logo on the product details page of Shopware6 constantly changes its position depending on how big the logo of the manufacturer is. We have now trimmed the logos so that they no longer have a white border. The logos of the manufacturers are of course always different sizes so that they are never flush with the product title.

We want the logo to be flush with the product title, no matter how big the logo is. How can we force Shopware6 to do this?

EDIT: I´m using this but the top seems changing depending on the size of the manufacturer-logo:

.product-detail-manufacturer {
margin-top: -125px;

}

Upvotes: 0

Views: 118

Answers (1)

dneustadt
dneustadt

Reputation: 13201

For a pure CSS solution you could add custom styling or use a plugin and set the items of the detail headline to be aligned at the top:

.product-detail-headline {
    align-items: start !important;
}

Upvotes: 1

Related Questions