News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Bootstrap5 Logo Position

Started by Nuno Neff, December 18, 2023, 05:16:52 PM

Previous topic - Next topic

Nuno Neff

 Hello i would like move the store logo to the center of the header in the bootstrap5 theme, what do i have to do?

abolabo

#1
you can find logo here
public_html/extensions/bootstrap5/storefront/view/bootstrap5/template/common/header.tpl

https://getbootstrap.com/docs/5.3/utilities/flex/#justify-content

abantecart

You need to edit below line in fine public_html/extensions/bootstrap5/storefront/view/bootstrap5/template/common/header.tpl

Around line 3 there is a code below
<div class="mb-auto col-12 col-md-2 d-flex flex-wrap flex-md-nowrap justify-content-between"
       

You need to set a 100% width here and set justify-content-center

Nuno Neff

Ive done that but still continue to have the logo on my left.

Can you please help me solve this?

abantecart

Can you share your HTML/CSS or post a link?

Nuno Neff


Forum Rules Code of conduct
AbanteCart.com 2010 -