cpcn Posted December 24, 2023 Share Posted December 24, 2023 How to make the gap between these links smaller? I've tried adjusting in several ways but can't seem to get the gap smaller than it is currently. For reference my site URL is: http://choypingclarkeng.com/ Thanks! This is what my custom CSS looks like: .portfolio-hover-items { padding-top: 130px !important; /* Set the padding-top to 130px */ } body { font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif } @font-face { font-family: 'PEARL'; src: url('https://static1.squarespace.com/static/6058a6f3664b9e2e27456e5c/t/6579c8844285d33df676dfe1/1702480005051/TAN-PEARL.ttf'); } h1, h2 { font-family: 'PEARL'; } span.portfolio-hover-item-content { font-size: 45px; font-family: 'PEARL' } //DESKTOP// @media only screen and (min-width: 768px) { .portfolio-hover[data-horizontal-align="center"][data-mode="hover-cover"] .portfolio-hover-item-title { padding: 0.01em; /* Apply the padding adjustment */ } } //MOBILE// .header-menu-nav-item a { font-size: 30px; margin: 4rem 0; font-family: 'PEARL' } .header-layout-nav-right .header-nav { text-align: center; } span.portfolio-hover-item-content { font-size: 40px; line-height: 1px; } Link to comment
Solution tuanphan Posted December 28, 2023 Solution Share Posted December 28, 2023 You can use this code to Custom CSS @media screen and (min-width: 992px) { h1.portfolio-hover-item-title { font-size: 80px !important } } @media screen and (max-width: 991px) { h1.portfolio-hover-item-title { font-size: 40px !important } h1.portfolio-hover-item-title span { font-size: 20px !important } } .portfolio-hover-display { min-height: 100vh !important } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment