CooperLandingFishingGuide Posted April 10, 2023 Share Posted April 10, 2023 Most of my mobile pages have been jumbled until I added a site header; however, I am not able to add a site header to my individual blog posts, so they are completely jumbled on the mobile version. Link to comment
tuanphan Posted April 11, 2023 Share Posted April 11, 2023 What is your site url? + Can you send all code in CSS box? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
CooperLandingFishingGuide Posted April 12, 2023 Author Share Posted April 12, 2023 21 hours ago, tuanphan said: What is your site url? + Can you send all code in CSS box? sure thing! it's alaskaheavenly.com Link to comment
CooperLandingFishingGuide Posted April 12, 2023 Author Share Posted April 12, 2023 /* Nav menu active link color */ body:not(.tweak-transparent-header) .header-nav-wrapper .header-nav-item--active a { color: #337ab7; } /* Basic table styling */ table.minimalistGrey { width: 100%; text-align: left; border-collapse: collapse; } table.minimalistGrey td, table.minimalistGrey th { padding: 5px 4px; } table.minimalistGrey tr:nth-child(odd) { background: #d6cfbd; } /* Shrink mobile nav menu font */ @media screen and (max-width:767px){ .header-menu-nav-item a { font-size: 1.3rem; } /*and shrink gmap*/ .sqs-block-content > iframe { width: 330px; } } /* Attempt always-full-width banner */ @media screen and (max-width:767px) { #page section:first-child { min-height: 32vh !important; height: 32vh !important; } } /* End always-full-width homepage banner attempt*/ EarvinChong 1 Link to comment
tuanphan Posted April 16, 2023 Share Posted April 16, 2023 On 4/12/2023 at 1:31 PM, CooperLandingFishingGuide said: /* Nav menu active link color */ body:not(.tweak-transparent-header) .header-nav-wrapper .header-nav-item--active a { color: #337ab7; } /* Basic table styling */ table.minimalistGrey { width: 100%; text-align: left; border-collapse: collapse; } table.minimalistGrey td, table.minimalistGrey th { padding: 5px 4px; } table.minimalistGrey tr:nth-child(odd) { background: #d6cfbd; } /* Shrink mobile nav menu font */ @media screen and (max-width:767px){ .header-menu-nav-item a { font-size: 1.3rem; } /*and shrink gmap*/ .sqs-block-content > iframe { width: 330px; } } /* Attempt always-full-width banner */ @media screen and (max-width:767px) { #page section:first-child { min-height: 32vh !important; height: 32vh !important; } } /* End always-full-width homepage banner attempt*/ Change last code /* Attempt always-full-width banner */ @media screen and (max-width:767px) { #page section:first-child { min-height: 32vh !important; height: 32vh !important; } } to this /* Attempt always-full-width banner */ @media screen and (max-width:767px) { #page article section:first-child { min-height: 32vh !important; height: 32vh !important; } } EarvinChong 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
CooperLandingFishingGuide Posted April 16, 2023 Author Share Posted April 16, 2023 15 hours ago, tuanphan said: /* Attempt always-full-width banner */ @media screen and (max-width:767px) { #page article section:first-child { min-height: 32vh !important; height: 32vh !important; } } Thank you so much for the help, but it appears to be doing the same thing unfortunately 😕 Link to comment
Solution tuanphan Posted April 18, 2023 Solution Share Posted April 18, 2023 On 4/17/2023 at 12:41 AM, CooperLandingFishingGuide said: Thank you so much for the help, but it appears to be doing the same thing unfortunately 😕 Try change to this new code @media screen and (max-width: 767px) { body:not([class*="type-blog"]) #page article section:first-child { min-height:32vh !important; height: 32vh !important } } EarvinChong 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
CooperLandingFishingGuide Posted April 19, 2023 Author Share Posted April 19, 2023 On 4/17/2023 at 6:58 PM, tuanphan said: Try change to this new code @media screen and (max-width: 767px) { body:not([class*="type-blog"]) #page article section:first-child { min-height:32vh !important; height: 32vh !important } } Amazing! It worked! I can't thank you enough for your help! tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment