TopNavigation

how to change topnavigation position center?
No description
4 Replies
hashim199
hashim1993mo ago
@YusifHajiyev have you solved it?
Andrew Wallo
Andrew Wallo3mo ago
Your gonna have to use css
Andrew Wallo
Andrew Wallo3mo 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 Wallo3mo 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;
}
}