html - Cuelinks 小部件的一半被隐藏在 WordPress 网站上

标签 html css wordpress

我有我的网站页面 http://arablelife.com/?p=1369 我已经为附属程序应用了提示链接小部件。我的网站右侧有足够的边距,但小部件的右半部分仍然隐藏在布局中。

小部件的 HTML 代码是

<p align=center> <iframe width='300' height='600' frameborder='0' scrolling='no' src='https://widget.cuelinks.com/widgets/42308?cid=43033'></iframe> </p>

我试过的解决方案 我在虚拟主机文件底部的 style.css 中添加了以下代码。

.sidebar { border-left: none !important;}
#content, .entry-no-pic .entry-content  { border-right:1px solid #E1E1E1; margin: 0 0 30px !important; padding: 20px !important; } /* adds border to right of main content and corrects margin / padding */

最佳答案

您需要在侧边栏 div 上添加填充。 例如:

.et_pb_module.et_pb_sidebar_0.et_pb_widget_area.et_pb_bg_layout_light.clearfix.et_pb_widget_area_left.et_pb_text_align_center.et_pb_sidebar_no_border {
padding: 0 30px;}

关于html - Cuelinks 小部件的一半被隐藏在 WordPress 网站上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57646192/

相关文章:

php - 在如何处理数组操作以创建表方面需要帮助?

wordpress - Stack Overflow 的 pretty-print 引擎和编辑器是否作为 WordPress 的插件存在?

html - 内容框架内的页脚

jquery - 从一个 css 中的 for 循环生成的页面的不同背景

html - 如何根据容器缩小图像尺寸?

javascript - 推特 Bootstrap : Is it possible to center container-fluid with two rows with span5 or span4?

html - 如何在页脚上方插入图像并保持静止 [WORDPRESS]?

html - 无法在另一个 div 中成功嵌套 div

javascript - 如何更新本地存储中数组的特定项

html - 如何在 bootstrap 4 中订购 div?