basic styling for mobile
-
Hi there,
Thanks in advance for your help!
I am trying to accomplish three basic styling tasks for mobile.
1. Center the site title and description.
2. Smaller font size for site description so it fits onto one line.
3. Smaller font size for h3.Here is the URL: https://tinyurl.com/kubqtuk
I am going nuts trying to figure out how to do this! In the older version of the free Make theme, on another website, I simply added the code below to the “Appearance” > “Edit CSS” area in order to style the title/description on mobile:
@media (max-width: 800px) { .site-title { font-size: 38px; display: block; margin: 0 auto; max-width: 1080px; min-height: 50px; padding: 0 20px; text-decoration: none; width: 100%; } .site-description { font-size: 13px; display: block; margin: 0 auto; max-width: 1080px; min-height: 50px; padding: 0 20px; text-decoration: none; width: 100%; } }
But when I apply the above code to the stylesheet of my current website (URL above), it does absolutely nothing. I’ve tried experimenting with every iteration I can think of in terms of the code that’s already available in the stylesheet, but have had no luck.
Any assistance or guidance would be greatly appreciated!
Thank you!
- The topic ‘basic styling for mobile’ is closed to new replies.