Kaiyo Posted September 24, 2021 Share Posted September 24, 2021 Site URL: https://www.kaiyosonics.com/ Is it possible to make this: look like this: on mobile only? I just want a line break and no space after pursue as in PURSUE<br />YOUR PASSION just not sure of the code to implement it on mobile only Cheers! Link to comment
HoaLT Posted September 25, 2021 Share Posted September 25, 2021 (edited) 20 hours ago, Kaiyo said: Site URL: https://www.kaiyosonics.com/ Is it possible to make this: look like this: on mobile only? I just want a line break and no space after pursue as in PURSUE<br />YOUR PASSION just not sure of the code to implement it on mobile only Cheers! You can apply the following steps: 1. Home > Pages > Edit your heading > Set bold for "Your Passion" 2. Home > Design > Custom CSS #block-5441a2f77e4fa42d5289 h1 strong { font-weight: inherit; } @media only screen and (max-width: 768px) { #block-5441a2f77e4fa42d5289 h1 strong { display: block; } } Hope that it is ok for your site! Edited September 25, 2021 by HoaLT tuanphan and Beyondspace 2 Link to comment
Kaiyo Posted September 27, 2021 Author Share Posted September 27, 2021 On 9/25/2021 at 3:20 PM, HoaLT said: You can apply the following steps: 1. Home > Pages > Edit your heading > Set bold for "Your Passion" 2. Home > Design > Custom CSS #block-5441a2f77e4fa42d5289 h1 strong { font-weight: inherit; } @media only screen and (max-width: 768px) { #block-5441a2f77e4fa42d5289 h1 strong { display: block; } } Hope that it is ok for your site! hi, this solution puts it onto a new line but it doesn't remove the space between 'pursue' and 'your' so the text isn't properly centered. It also doesn't create the same line spacing as between 'your passion' and 'for music'. Any ideas to fix those issues? Link to comment
HoaLT Posted September 27, 2021 Share Posted September 27, 2021 2 hours ago, Kaiyo said: hi, this solution puts it onto a new line but it doesn't remove the space between 'pursue' and 'your' so the text isn't properly centered. It also doesn't create the same line spacing as between 'your passion' and 'for music'. Any ideas to fix those issues? Try adding space at the beginning and ending of "Your passion" Beyondspace 1 Link to comment
Kaiyo Posted September 27, 2021 Author Share Posted September 27, 2021 3 minutes ago, HoaLT said: Try adding space at the beginning and ending of "Your passion" thanks, that still doesn't fix the line spacing issue though either. I decided just to make the font size smaller so it fits on one line. 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