0

我正在这个网站上工作(https://stagetoday.squarespace.com/),但我需要在 css 中为断点 1218px 编写一个媒体查询。

当我通过那个宽度时,我的站点字幕会跳到我的菜单项下,但它必须保持在它之上。

我已经有一个 640px 断点的媒体查询,所有东西都在中心对齐,这没关系,但是在 640px 和 1218px 之间,右边的菜单不是我想要的。

谁能帮我解决这个媒体查询?

4

2 回答 2

0

从 中删除宽度属性#navigator .logo-subtitle

于 2014-03-20T11:06:33.443 回答
0

更改width:80% !important为。#navigator .logo-subtitle_width:auto !important

#navigator .logo-subtitle{
    width:80% !important; // remove this and add the below style
    width:auto !important;
}
于 2014-03-20T11:17:07.283 回答