Author | Posts |
---|---|
eiretv
January 17, 2017 at 11:06 pm
|
Heads up! this post was created when Microthemer was at version 4. The current version is 7. Some references to the interface may be out of date. Hello Can’t tell you how great Microthemer has been for me and fixed a problem on all websites I work with. I am trying to centre a logo image when it goes to Tablet & mobile but cannot figure it out. I am using the Ultimatum Framework and use it on 80% of my websites so if I can figure this I can fix it on most of my websites now and moving forward. Thank you in advance… |
Sebastian
January 18, 2017 at 8:51 am
|
Hey, It’s great to hear you’ve been enjoying Microthemer! You had the right idea with setting margin to auto. To center the logo, you need to apply this to the outermost div that you have limited the width of. You have set the width to 150px on the following selector: Div.col-md-3 And so you need to set margin-left and margin-right to auto there. Because otherwise you have a container div that is 150px wide aligned to the left. And setting margin to auto on child elements will only center them within the 150px wide box. Not the full width of the header area. Does that make sense? |