Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css WordPress中的图像溢出2个div_Css_Wordpress_Overflow - Fatal编程技术网

Css WordPress中的图像溢出2个div

Css WordPress中的图像溢出2个div,css,wordpress,overflow,Css,Wordpress,Overflow,我想知道是否有机会获得以下网站的徽标,如图所示 不幸的是,我找不到一种方法将类或ID添加到徽标中 谢谢:-)你可以稍微调整一下位置(见下文:) 这将为您提供以下信息:您可以稍微调整一下定位(请参见下文:) 这将为您提供以下信息:像这样更新您的CSS #header > .container { height: 230px; /* less high than image make it overflow below */ } #header {

我想知道是否有机会获得以下网站的徽标,如图所示

不幸的是,我找不到一种方法将类或ID添加到徽标中


谢谢:-)

你可以稍微调整一下位置(见下文:)


这将为您提供以下信息:

您可以稍微调整一下定位(请参见下文:)


这将为您提供以下信息:

像这样更新您的CSS

#header > .container {
  height: 230px;                  /*  less high than image make it overflow below  */
}
#header {
  margin-bottom: 80px!important;  /*  increase the green elements margin some  */
}
旁注:


有时很容易使用
position:absolute
,对于这类事情,不要,它很可能会在以后的过程中给你带来问题,通常会有不必要的元素重叠。

像这样更新你的CSS

#header > .container {
  height: 230px;                  /*  less high than image make it overflow below  */
}
#header {
  margin-bottom: 80px!important;  /*  increase the green elements margin some  */
}
旁注:


对于这类事情,有时很容易使用
position:absolute
don't,这很可能会在以后给你带来问题,通常会有不必要的元素重叠。

自己尝试一下,或者至少分享相关的代码。否则这将被关闭为offtopic(阅读以获取更多信息),请自己尝试一些东西,或者至少共享相关的代码。否则,这将作为主题关闭(阅读更多信息),这太棒了!你知道如何扩大logo和下面文章部分之间的填充来扩大这条绿线吗?嗨@KrystianManthey,LGSon的回答是正确的-你需要增加
#标题上的
边距底部来增加绿线的高度:)太棒了!你知道如何扩大logo和下面文章部分之间的填充来扩大这条绿线吗?嗨@KrystianManthey,LGSon的回答是正确的-你需要增加
标题上的
边距底部来增加绿线的高度:)你们太棒了!谢谢!你们太棒了!谢谢!