简体   繁体   English

将垂直菜单更改为水平菜单

[英]Changing Vertical Menu to Horizontal Menu

I am fairly new CSS and I have been tasked with changing the menu in the website to a more accessible horizontal menu on each page.我是相当新的 CSS,我的任务是将网站中的菜单更改为每个页面上更易于访问的水平菜单。 I am using WordPress with the Intergalactic Theme.我将 WordPress 与星际主题一起使用。 The dashboard allows me to make custom CSS additions.仪表板允许我添加自定义 CSS。

Custom CSS editor in WordPress WordPress 中的自定义 CSS 编辑器

How can I change this?我怎样才能改变这个?

Here is the code:这是代码:

view-source: https://sites.wp.odu.edu/thelambertgroup/biography/查看源代码: https://sites.wp.odu.edu/thelambertgroup/biography/

I need your code please.我需要你的代码。

You probably need to set your each menu button with display: inline or display: inline-block to align them horizontally.您可能需要将每个menu button设置为display: inlinedisplay: inline-block以水平对齐它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM