Home › Forums › Support › Footer Menu – Center and Divider This topic has 7 replies, 3 voices, and was last updated 3 years, 2 months ago by Ying. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts February 13, 2023 at 3:06 am #2531203 Martin Hi there I have created a horizontal menu in the footer but would like to center the menu and add a divider between all items except the last one. I’m sure it’s a teeny bit of CSS. I tried this: .widget_nav_menu > li:not(:last-child) > a:after { content: "|"; } I’m guessing it requires a DIV to center it? Thanks. Martin February 13, 2023 at 4:19 am #2531279 DavidStaff Customer Support Hi there. can i see the site with the footer menu ? February 13, 2023 at 12:03 pm #2531996 Martin Sure, here it is: https://old-pumphouse.com February 13, 2023 at 12:17 pm #2532022 YingStaff Customer Support Hi Martin, Try this CSS: .footer-widgets .widget_nav_menu li:not(:last-child):after { content: "|"; } .footer-widgets .widget_nav_menu li a { padding: 0 15px 0 15px; } February 13, 2023 at 1:41 pm #2532108 Martin Thank you. Can I ask; why the 15px padding on the right? February 13, 2023 at 6:06 pm #2532268 YingStaff Customer Support Good question 🙂 Adding both left and right padding seems to make more sense. I’ve updated the CSS. February 14, 2023 at 5:22 am #2532777 Martin Thank you for this Ying. February 14, 2023 at 3:09 pm #2533499 YingStaff Customer Support No problem 🙂 Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In