Center Sidenavigation - Forum | JoomShaper
Solved Templates

Center Sidenavigation

Asked by Michael Nolden 5 years ago Last activity 5 years ago

Hi there (again),

first of all, you are great! Its so helpfull how and how fast you react on every question! I already postet a very positive review.

Here is my next question:

How can I set the sidenavigation-bar (from main-articles (component)) to the center? --> see screenshot

https://ibb.co/v4Zv0z8

Accepted answer

Marked as the solution
Ariba Staff

I have added the screenshots of the steps below for your kind reference, you can take a look.

  1. Go to Extensions -> Templates -> Styles templateex.JPG

  2. Select your template default.JPG

  3. Click on Template options template options.JPG

  4. If you are using Helix ultimate based template, you will see this page and the Custom Code section to add the csscustomcss.JPG

9 more replies

Ariba Staff

Hello

Thank you for your kind appreciation :)

And thank you for providing the screenshot as well, let me have a look.

Paul Frankowski Senior Staff
5 years ago · edited

Hi,
Danke.

I think also this time we can help you quickly and efficiently.

Use custom CSS:

.pagination {
    display: flex;
    justify-content: center;
}

After:

foto_6424_2021.jpg

Ariba Staff
5 years ago · edited

Please use the following code in Custom CSS section.

.pagination {
    float: none;
    margin: 0px auto;
    display: block;
    width: max-content;
}

Please go to Extensions -> Templates -> Styles, then click on Template Options. From there you can go to Custom CSS.

It will look like this:

center-paginnation.JPG

Paul Frankowski Senior Staff

And to add small margin between article blocks use also this line:

@media (min-width: 768px) {
.item.col-sm-6 {width: 48.5%; margin: 0 0.5%;}
}

To make Main Menu items more dark (and by the way improve accessibility) use:

.sp-megamenu-parent > li > a {
    color: #333;
    font-size: 15px;
    padding: 0 14px;
    font-weight: 600;
}

foto_6423_2021.jpg

Michael Nolden Asked this

Wow, so many nice helpfull answers, thanks a lot!

I feel ashame to ask one more question and hope for your understanding cause I am a teacher an not an professional IT-Admin. Where do I post these CSS- lines? Sorry for that silly question!!

Ariba Staff
5 years ago · edited

Hello

No problem at all :)

Please go to Extensions -> Templates -> Styles, then click on Template Options. From there you can go to Custom CSS and add the code

Michael Nolden Asked this

I cant believe how easy this works!!! Seems that I am learning CSS with your help! You are so great, thanks sooo much!

Ariba Staff

You are most welcome, we are always happy to help.

Please do let us know if there are any other queries, i am happy to provide assistance.

If there is no other issue, kindly accept the most useful answer as you want in order to close and resolve the post.

Have a nice day.

Log in to reply.