Post width

Hi there,

is there a chance to adjust the width of the displayed text of a post on the mainpage? so that left and right less margin would be left over?

Thank you

Hey there

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Additional CSS

/*adjust margin of text on home age */
.home .entry-content{
  margin-left:30px;
margin-right:30px;
}

Best Regards,
Support

Perfect thank you!!!
And can you please tell me if/how I can center the menu? no its floating left but it should be centered since all blog posts will also have centered text.

Thank you

You can centre align menu using below custom CSS code.

.navbar-default .navbar-collapse {
    float: none;
    margin: 0 auto;
    display: table !important;
}

Hey there.

Thanks for the quick help.
This solution works perfect on Desktop. However on mobile it looks really weird. The Menu doesnt display as a drop down anymore but rather as a constant “dropped down” field. That creates the problem that the logo is hidden under it.
Is there a way to fix that as well?

Thank you?
Matt

To make it work only on desktop please use below CSS code instead of the code shared above.

@media (min-width: 768px){
.navbar-default .navbar-collapse {
    float: none;
    margin: 0 auto;
    display: table !important;
}
}

That works perfectly. thank you!

You are most welcome here :slight_smile: