I am working on an item that will be used in one of the pages of the website that I am building. I have built the item successfully but I wanted it to be centered in the page and I'm only able to center the image, the rest of the text doesn't move at all.
HTML code:
<article class="col-sm text-center">
<a href="https://www.google.com/">
<img style="border-radius: 5px;" width="400" height="561" src="https://i.imgur.com/kE1WrzV.png" alt="Image" loading="lazy" />
</a>
<div style="margin-top: 2%;" class="container-fluid">
<div class="row center-block">
<h6 class="style-anime-title"><a class="style-anime-a" href="{{ request.path }}{{obj.mNameEN}}">This is a test (Some more test)</a></h6>
</div>
<div class="row center-block" style="max-width:80%;">
<div>
<a href="/category/{{ cat.mCategoryName }}" class="style-anime-option style-anime-a">Category 1</a>
<i style="color: #7d7d7d;" class="style-bullets fa fa-circle"></i>
<a href="/category/{{ cat.mCategoryName }}" class="style-anime-option style-anime-a">Category 2</a>
<i style="color: #7d7d7d;" class="style-bullets fa fa-circle"></i>
<a href="/category/{{ cat.mCategoryName }}" class="style-anime-option style-anime-a">Category 3</a>
<i style="color: #7d7d7d;" class="style-bullets fa fa-circle"></i>
<a href="/category" class="style-anime-option style-anime-a">...</a>
</div>
<div>
<i style="color: #7d7d7d;" class="style-bullets fa fa-circle"></i><span class="style-anime-option">12 items</span>
</div>
</div>
</div>
</article>
</div>
CSS:
.style-anime-title {
font-family: Montserrat !important;
text-align: center !important;
}
.style-anime-a {
text-decoration: none !important;
color: #3E3E3E !important;
transition: all .3s !important;
}
.style-anime-option {
color: #7d7d7d !important;
}
.style-bullets {
font-size: 4px !important;
display: inline-block !important;
vertical-align: middle !important;
margin-left: 5px;
margin-right: 5px;
}