اینو توی ساختار قالب بعد از <head>
بذارید
<meta content="width=device-width, initial-scale=1" name="viewport" />
این کد رو آخر css قالب بذارید
@media (max-width: 850px) { * { box-sizing: border-box; } .wrp, #wrp, .footer, .footer .cnt, .main_menu .cnt, .cnt, .header .hdr-cnt, .head_wrp, #wrp .box1 .bx_center .post { max-width: 100%; } .main_menu, #wrp .main_menu { height: unset; max-width: 100%; } .main_menu:after { content: ""; display: table; clear: both; } .box1 { display: flex; flex-direction: column-reverse; } .bx_center, #wrp .box1 .bx_center, #wrp .box1 .bx_right, #wrp .box1 .bx_left.right, #wrp .box1 .bx_left, #wrp .box1 .bx_left .sidebar, #wrp .box1 .bx_left .sidebar.left, #wrp .box1 .bx_left .sidebar.right { width: 100%; float: none; margin-left: 0; margin-right: 0; } .footer_contain .content .bx { float: none; display: block; width: 100%; } #wrp .header, .header, .footer { height: unset; } #wrp .header .hdr_right, #wrp .header .hdr_left, .header .hdr_left, .header .hdr_right, .footer .ftr_right, .footer .ftr_left, .footer .links, .footer .icons { float: none; } .footer span.icons { display: block; padding: 0; } .footer .cnt { height: unset; text-align: center; } .footer .icons:after { content: ""; display: table; clear: both; } .footer .icons a { display: inline-block; float: none; } .content, #wrp_bg { max-width: 100%; } #block-post, #block-left { max-width: 100%; float: none; } #wrp .box1 { width: 100%; margin: 0; padding: 15px; float: none; } #wrp .box1 .mod_both .title, #wrp .box1 .bx_left .mod_left .title, #wrp .box1 .bx_right .mod_right .title, #wrp .box1 .bx_left .mod_left .title h3, #wrp .box1 .bx_left .mod_left .title .txt, #wrp .box1 .bx_right .mod_right .title .txt, #wrp .box1 .bx_right .mod_right .title, #wrp .box1 .bx_left .mod_left .title .cnt, #wrp .box1 .bx_right .mod_right .title h3 { height: unset; } .mini_icon { display: none; } /*👇 ادمهٔ کد واکنشگرایی*/ /*☝️ ادمهٔ کد واکنشگرایی*/ }
ادامهٔ کدها رو توی محل مشخص شده به css اضافه کنید.
اگه عنوان و توضیح وبلاگ از گوشه صفحه هیچ فاصله ای نداره این رو هم اضافه کنید
#wrp .header .title_desc,
.header .title_desc {
padding-right: 15px;
}
اگه قالبتون بین اینهاست کدش رو به css اضافه کنید
اگه نیست نیاز به کد دیگه ای نداره.
هامون
.header {
margin-bottom: 10px;
}
.header::after {
content: "";
display: table;
clear: both;
}
لحظه
.footer {
order: -2;
}
سرعت
#wrp .car {
position: static;
}
#wrp .car > img {
width: 100%;
}
رنگینه
#wrp .box1 .bx_left .mod_left .title {
width: calc(100% + 22px);
background-size: 100% 50px;
height: 50px;
}
آرام ۴
#wrp .box_bg {
max-width: 100%;
}
#wrp .box1 .bx_left {
margin-top: 0;
}
#wrp .box1 .bx_left .mod_left {
width: 100%;
}
.header .content {
height: unset;
}
.mini_icon {
display: block;
clear: both;
}
.hdr_title {
height: unset;
width: unset;
}
.header {
background-image: linear-gradient(to bottom, #0e8d8c, #014448);
}
.main_menu {
background: #494433;
}
.mini_icon {
padding: 0;
}
.header .hdr {
height: unset;
}
.header .hdr {
background: #494433;
}
.header .hdr_title h1 {
text-align: right;
}
.hdr_title .cnt li {
float: none;
}
.hdr_title .cnt {
padding: 15px;
margin: 0;
}
باور
#wrp .box1 .bx_center .post .date_r {
margin-right: 10px;
background-size: 100%;
width: max-content;
height: max-content;
padding: 4px;
transform: rotate(-90deg);
top: 0;
}
#wrp .box1 .bx_center .post .date_r .day {
padding-top: 4px;
}
.post {
margin-top: 40px;
position: relative;
}
#wrp .box1 .bx_center .post .date_r .cnt {
transform: rotate(90deg);
}
.footer_contain .content .cnt {
padding: 20px;
}
بیانگر
#wrp .box1 {
padding: 0 17px;
}
رنگارنگ ۱
.header {
background-size: 189px 100%;
}
#wrp .box1 .bx_center .post {
max-width: 100% !important;
}
#wrp .box1 .bx_center .mod_center {
float: none;
}
#wrp .box1 .bx_left .mod_left .title h3 {
background-position: right 8px center;
}
.footer {
background-size: 65px 100%;
}
ترسیم
#wrp .box1 .mod_both .title {
background-size: 100% 54px;
}
فوتبال ۲
#wrp-bg {
max-width: 100%;
padding-bottom: 0;
}
ابر
#wrp .box1 .bx_left .mod_left .title {
max-width: 250px;
}
.cloud1,
.cloud2 {
top: 0;
transition: 100ms ease;
}
.header {
position: relative;
}
#wrp .header .hdr_left {
position: absolute;
top: 0;
left: 0;
}
.footer > .cnt > .links,
.footer > .cnt > .icons {
padding-right: 0;
padding-left: 0;
}
گیرا
#wrp .header {
height: unset;
min-height: 100px;
}
پند
#wrp .box1 .bx_center .top {
}
#wrp .box1 .bx_center .shadow {
background-size: 100% auto;
}
#wrp .box1 .bx_center .post {
background-size: 100%;
}
#wrp .box1 .bx_left .mod_both .title {
background-size: 100%;
}
#wrp .box1 .bx_left .mod_both {
background: ;
background-size: 100%;
}
#wrp .box1 .bx_left .bottom {
background-size: 100%;
}
.box1 {
flex-direction: column;
}
نئون
.main_menu {
height: unset;
}
#wrp .box1 {
padding: 0 20px;
}
اقبال - ساغر
#wrp {
max-width: 100%;
}
#wrp .main_menu .cnt a {
box-sizing: content-box;
}
#wrp .box1 .bx_left .mod_left {
background-size: 100%;
}
#wrp {
max-width: 100%;
}
#wrp .main_menu .cnt a {
box-sizing: content-box;
}
#wrp .box1 .bx_left .mod_left {
background-size: 100%;
}
#wrp .box1 .bx_center {
margin-left: 0;
}
#wrp .box1 {
padding: 0 !important;
}
#wrp .box1 .bx_left {
width: 100%;
}
کاغذ ۴
#wrp .box1 {
padding: 0 !important;
}
#bx_center_top {
max-width: 100%;
float: none;
left: 0;
background-size: 100% 80px;
}
#bx_center_bottom {
background-size: 100% 52px;
}
#wrp .box1 .bx_left_top,
#wrp .box1 .bx_left_bottom {
background-image: none;
}
#wrp .box1 .bg_left_middle {
background: #ebebeb;
box-shadow: 0 0 8px -2px #0008;
margin: 0 10px;
border-radius: 10px;
padding: 10px 0;
}
#wrp .box1 .bx_center .mod_center {
background-size: 100% 22px;
}
طنین
.mini_icon {
padding-top: 0;
}
.main_menu:after {
content: "";
clear: both;
display: table;
}
تپش - دو ستونه و تپش- سه ستونه
.headerWrp {
width: 100%;
height: unset;
padding: 10px;
background-color: red;
}
.header .title h1 {
margin-top: 0;
padding-top: 6px;
}
زلال 2
#wrp .box1 .bx_center .post .date_r {
margin-right: 0;
left: 10px;
}
.post {
position: relative;
}
استحکام
#wrp .header h2.desc {
margin-top: 0;
padding: 0 10px;
}
#wrp .box1 .bx_left .mod_left {
background-position: center bottom;
}
اثبات ۱ و ۲
.hdr {
max-width: 100%;
}
.footer_contain .content .bx {
margin: 0;
padding: 0 10px;
}
#wrp .box1 .bx_center {
margin: 0;
}
برش
#wrp .bx_left {
padding: 10px 15px;
}
#wrp .bx_left .sidebar.left,
#wrp .bx_left .sidebar.right {
padding: 0;
}
#break_top {
max-width: 100%;
}
#wrp .box1 .bx_center .post .body {
padding: 0 21px;
}
تنش
#wrp .header {
height: unset;
}
سرو
#wrp {
padding: 0;
}
امتداد
.top_bg,
.bottom_bg {
display: none;
}
.main_menu {
padding-top: 0;
}
.main_menu .cnt a.selected {
border-radius: 0 0 4px 4px;
}
.header .title_desc {
padding: 21px 15px;
}
#wrp .box1 {
background: transparent;
padding: 0;
}
#wrp .box1 .bx\*center {
padding: 15px;
}
#wrp .box1 .bx_left {
padding: 5px;
}
استناد و استناد - 3ستونه
.boxs_bg,
.content_bg {
background: linear-gradient(#555, #373738);
border: 1px solid #fff4;
border-radius: 4px 4px 0 0;
}
مشکین
#wrp .box1 {
padding: 30px 0;
}
سریر
#wrp .box1 {
padding: 0;
}
سریر 3 و سریر 2
#wrp .box1 .bx_left .mod_left .cnt,
#wrp .box1 .bx_left .mod_left .cnt_down,
#wrp .box1 .bx_left .mod_left .title {
background-size: 100%;
}
#wrp .box1 {
padding: 0;
}
رنگارنگ ۳
#wrp .box1 {
padding: 0 !important;
}
#wrp .header {
height: unset;
}
#wrp .header .desc h2 {
padding-top: 0;
}
#wrp .header .title_desc h1 {
padding-right: 15px;
}
.mini_icons_all {
max-width: 100%;
}
#wrp .mini_icons {
position: static;
}
زمستان
#wrp .box1 {
background-image: none;
padding: 0;
}
.header .title_desc {
width: 100%;
color: #fff;
padding: 0;
}
.header .title_desc .desc h2 {
margin: 0;
}
.hdr_bg_center {
max-width: 100%;
padding: 0;
}
.header .hdr_left {
height: unset;
padding: 50px 10px 30px;
box-shadow: 0 0 8px;
background: #333 linear-gradient(20deg, #42454b, #25282f, #25282f, #43464c);
}
.main_menu {
background: #007da9;
}
.main_menu .cnt {
padding: 0;
}
.main_menu .cnt li {
float: right;
}
زلال
.footer .wrp {
max-width: 100%;
}
.footer span.links {
padding-top: 10px;
}
سکوت
#wrp .box1 .bx_center .post .title h2 {
background-size: 41px 100%;
}
اقبال - 3ستونه
#wrp .box1 {
padding: 0;
}
جهت
.align {
padding: 0;
}
#wrp .box1 .bx_center .mod_center {
float: none;
max-width: 100%;
}
.footer {
max-width: 100%;
}
زمین ۱
#wrp .header .hdr_left {
position: static;
}
#wrp .main_menu .cnt li {
float: right;
}
#wrp .main_menu .cnt a {
padding: 15px 15px 10px 15px;
border-radius: 6px;
}
.footer .cnt {
background-position: bottom center;
}
کهن
#wrp .boxBG {
max-width: 100%;
}
#wrp .box1 .bx_right .title {
background: #43402d;
border-radius: 4px;
margin-left: 15px;
}
.footer .links {
padding-right: 0;
}
شهره
body {
background: #333;
}
#wrp .main_menu .cnt a {
width: 100%;
background: #0003;
border-radius: 8px;
position: relative;
}
#wrp .main_menu .cnt li {
display: block;
float: none;
}
#wrp .main_menu .cnt a.selected,
#wrp .main_menu .cnt a:hover {
background: #0004;
}
#wrp .main_menu .cnt a.selected:after,
#wrp .main_menu .cnt a:hover:after {
content: "▶";
position: absolute;
left: 0;
}
#wrp .box1 .bx_left .mod_left .cnt {
border-radius: 5px;
}
#wrp .box1 .bx_left {
padding-right: 0;
}
.footer .cnt {
width: 100%;
}
.footer span.links {
padding-bottom: 0;
}
.ftr_left {
}
.header .title_desc {
border-radius: 5px;
}
.bx_center {
background: #fff;
border-radius: 5px;
}
رویا
#wrp .main_menu .cnt li {
float: right;
}
#wrp .main_menu .cnt a {
border-radius: 5px;
}
نگار
#wrp .box1 {
background-image: none;
}
#wrp .box1 .bx_left .mod_left .title .txt {
background-position: right -10px center;
background-repeat: no-repeat;
}
ابر ۱
#wrp .box1 {
background-image: none;
}
سادگی 1
#wrp .box1 .bx_center .post .box_detail_right {
left: -32px;
position: absolute;
top: 10px;
}
.post {
position: relative;
}
سادگی 3
#wrp .box1 .bx_center .mod_center {
max-width: 100%;
}
#wrp .box1 .bx_center {
border-left: none;
}
سادگی 2 و 4
.post {
position: relative;
}
#wrp .box1 .bx_center .post .box_detail_right {
position: absolute;
left: -10px;
top: 5px;
}
#wrp .box1 .bx_left .mod_left {
margin-bottom: 30px;
}
#wrp .box1 .bx_left .mod_left .title .txt {
background-size: 100%;
padding: 10px 5px 23px;
box-sizing: content-box;
}
سادگی 5
.post {
position: relative;
}
#wrp .box1 .bx_center .post .box_detail_right {
left: 5px;
position: absolute;
top: 0;
}
#wrp .main_menu .cnt li {
float: right;
}
پایتون 2
#wrp .header .head_logo {
position: absolute;
left: 0;
top: 0;
margin-left: 0;
}
.title_desc {
z-index: 6;
position: relative;
}
کاغذ 3
#wrp .box1 .bx_center .mod_center {
padding: 0;
margin: 0;
}
روزنامه نگار 1
#wrp .header {
background-position: bottom;
}
#wrp .header .title_desc .desc h2 {
margin-bottom: 0;
padding-bottom: 30px;
}
#wrp .box1 .bx_left .img_bx_left {
display: none;
}
قهرمان
#wrp .box1 {
padding-top: 0;
}
کاغذ 2
.content_bg {
}
.tape {
max-width: 100%;
}
#wrp .box1 .bx_center {
background-size: 100%;
}
.mod_center {
}
#wrp .box1 .bx_center .mod_center {
width: 100%;
}
#wrp .box1 .bx_center .post {
width: 100%;
}
.bx_left {
margin-top: 15px;
}
سروش
#wrp .main_menu .cnt a {
padding: 7px 15px 7px 15px;
border-radius: 7px;
}
فوتبال ۱
.post {
position: relative;
}
#wrp .box1 .bx_center .post .box_detail_right {
left: 0;
position: absolute;
}
شب زده 1
#wrp .header {
background-position: right top;
border-radius: 7px;
}
.main_menu .cnt {
padding-top: 0;
}
.main_menu .cnt li {
float: right;
}
آرام 1
.post {
position: relative;
}
#wrp .box1 .bx_center .post .box_detail_right {
left: 0;
top: 0;
position: absolute;
z-index: ;
opacity: ;
}
.box1 {
background-image: none !important;
}
آرام 2
.main_menu {
margin: 0;
}
.main_menu .cnt li {
float: right;
}
.header .content {
height: unset;
background: #0c3b65 radial-gradient(circle at top right, #0c3b65, #1360a6);
}
پارچه
#wrp .header .title {
padding-top: 50px;
padding-bottom: 17px;
}
h1 {
margin-top: 0;
}
شب زده 2 و رنگارنگ 2
#wrp .box1 .bx_center {
width: 100% !important;
max-width: 100% !important;
}
#wrp .box1 {
display: flex;
flex-direction: column;
padding-top: 0 !important;
}
#wrp .box1 .bx_right,
#wrp .box1 .bx_left,
#wrp .box1 .bx_center {
display: block;
}
.view_header {
margin: 0 auto 0;
}
#wrp .box1 .bx_center .mod_center {
padding: 0;
}
.view_header {
max-width: 100%;
border-radius: 0 0 8px 8px;
border-top: none;
}
.bx_center {
order: -1;
}
دوربین
.content-wrp,
.block-content,
.footer-wrp,
.main-menu ul {
max-width: 100%;
}
.head-right {
position: static;
}
.head-right h1 {
margin-top: 0;
padding: 30px 65px 30px 30px;
background-position: right 10px center;
}
.main-menu {
height: unset;
}
.main-menu > ul:after {
content: "";
display: table;
clear: both;
}
.block-content {
float: none;
width: 100%;
}
.post_list_item {
width: 100%;
display: block;
}
@supports (aspect-ratio: 1) {
.post_list_item {
aspect-ratio: 1;
height: unset;
}
}
.post_list {
float: none;
}
.postlist-details {
width: 100%;
height: 100%;
top: -100%;
}
.postlist-detail-more {
margin: auto;
left: unset;
right: 50%;
transform: translateX(50%);
}
.block-sidebar {
float: none;
width: 100%;
margin-top: 10px;
}
مخاطب
.box-content .col-left,
.box-content .col-right {
width: 100%;
}
.box-content {
display: flex;
flex-direction: column-reverse;
}
.footer .footer-icons {
position: static;
text-align: center;
}
.footer .footer-icons a {
float: none;
display: inline-block;
}
.footer {
text-align: center;
}
ستون
.header {
padding: 15px;
background-position: bottom center;
max-width: 100%;
}
.main-menu {
max-width: 100%;
}
.content-wrp {
max-width: 100%;
}
.sb-left,
.sb-right {
width: 100%;
}
.footer .footer-icons {
position: static;
text-align: center;
}
.footer .footer-icons a {
float: none;
display: inline-block;
}
.footer {
text-align: center;
padding: 0.5em;
}
.footer .footer-copyright {
position: static;
text-align: center;
}
امید و امیدوار
.header:after {
content: "";
position: ;
display: table;
clear: both;
}
.head-wrp {
max-width: 100%;
padding: 2px 10px 17px;
}
.head-right,
.head-left {
position: static;
}
.head-left h2 {
padding-right: 20px;
}
.main-menu ul {
max-width: 100%;
}
.post-content-right,
.block-content,
.content-wrp,
.footer-wrp,
.block-sidebar {
float: none;
width: 100%;
}
.footer .footer-icons a {
float: none;
display: inline-block;
}
.footer {
text-align: center;
padding: 0.5em;
}
.footer .footer-copyright {
position: static;
text-align: center;
}
رقابت
بدون تغییر ساختار درست کردن جای فوتر ممکن نیست!
چرمینه
رنگارنگ 4
کاغذ 1
شاید بعدا!