TopNavigation

how to change topnavigation position center?
No description
4 Replies
hashim199
hashim1997mo ago
@YusifHajiyev have you solved it?
Andrew Wallo
Andrew Wallo7mo ago
Your gonna have to use css
Andrew Wallo
Andrew Wallo7mo ago
Maybe look at the fi-topbar > nav css applied classes in here: https://github.com/andrewdwallo/erpsaas/blob/2.x/resources/css/filament/company/theme.css
GitHub
erpsaas/resources/css/filament/company/theme.css at 2.x · andrewdwa...
A Laravel and Filament-powered accounting platform, crafting a modern and automated solution for financial management. - andrewdwallo/erpsaas
Andrew Wallo
Andrew Wallo7mo ago
Try this and see what happens:
.fi-topbar > nav {
@apply relative flex justify-center;

> ul {
@apply absolute -translate-x-2/4 gap-x-0 left-2/4;
}

> div {
@apply static;
}
}
.fi-topbar > nav {
@apply relative flex justify-center;

> ul {
@apply absolute -translate-x-2/4 gap-x-0 left-2/4;
}

> div {
@apply static;
}
}
Want results from more Discord servers?
Add your server