修改路径/ripro-v5/assets/css/main.min.css,修改后的文件自行下载
在WordPress手机端使文章页面撑满屏幕显示,页可以在主题的CSS文件中添加以下样式(仅供参考):
/* 通用样式 */
html, body {
margin: 0;
padding: 0;
height: 100%;
font-size: 16px;
}
body {
display: flex;
flex-direction: column;
}
/* 文章页面容器 */
.article-container {
flex: 1;
background-color: #fff;
padding: 20px;
box-sizing: border-box;
}
/* 文章页面标题 */
.article-title {
font-size: 2rem;
margin-bottom: 20px;
}
/* 文章内容 */
.article-content {
line-height: 1.6;
}
/* 在手机端撑满屏幕显示 */
@media (max-width: 768px) {
.article-container {
padding-top: 50px; /* 根据需要调整顶部内边距 */
}
}