Seen at http://www.gerddagne.com
I want to center that gallery logo. I have tried this link but cannot get the centering to work correctly - Centering brand logo in Bootstrap 3 Navbar
My css is very outdated :(
Seen at http://www.gerddagne.com
I want to center that gallery logo. I have tried this link but cannot get the centering to work correctly - Centering brand logo in Bootstrap 3 Navbar
My css is very outdated :(
You can also center like this - add to your .pull-right what this will do will center that entire div inside its parent div. So in your case you also have the pinterest and facebook social media links inside it. they will be included in the centering.
position:absolute;
left:50%;
transform:translateX(-50%);
For the start if it is okay to customize your Bootstrap, you can remove the Pull Right Class from it. And give it a custom class (something like center-logo)
.center-logo{
margin: 0 auto important;
width: 230px;
}
Usually the margin: 0 auto; works when the width is known. That means 230px is a variable which is the width of the content within the div encapsulating the logo and your social media icons (facebook and pinterest). However as you noticed this centers your social icons too. Maybe you move them to another div and apply the pull right class to that div