Most modern WordPress themes have what is called a Responsive theme. It means that the website format adjusts appropriately according to the particular screen size viewing it. These days more and more people are browsing the web on their phones and on their tablets. These screens are much smaller than PC or laptop screens.
Before responsive webdesign took hold, websites used to look terrible on small mobile screens. Usually the whole website would scale down to the tiny screen and the fonts would be so small that the site would be unreadable, forcing the user to pinch out to zoom in and scroll from side to side to read lines.
Good thing some smart folks invented CSS (Cascading Style Sheets) which is the key to allowing sites to be responsive. When the browser detects the size or resolution of the device, it will apply the correct format and sizing, thereby improving readability. For example, if the device is a large screen, it will display the content in 2 or even 3 columns. And if it detects a small screen, it will only show the content in 1 column.
I have chosen a theme called Rise by Thrive Themes. It's a responsive theme, and it adjusts well to different screen sizes as displayed below.
Notice how the logo looks fine at Full Size
I adjusted the width of the browser to a Mid Size Screen such as Tablets, and it still looked fine.
But for some reason (bug) it shrinks my logo way too small when viewed by a small screen as shown below.
In order to fix this we need to edit the CSS. But we are not going to edit the main theme's CSS. The system even warns us not to touch it when we go to Appearance, Edit CSS. That's because we can break how the site works by entering buggy code. And any edits to the CSS here will be lost when you update to a new version of the theme.
Thankfully there's another place, a much safer one to make changes. For Thrive's themes, it can be found by going to Thrive Dashboard, Theme Options, Style & Layout Settings. There you can find the Custom Css field. It's here where you can override the main CSS, and the code persists even after you update the theme.
This is the code to add so you can keep the logo from shrinking too much or getting squished.
You can copy it here.
/* 20190607 added so logo resize in mobile not too small */
@media only screen and (max-width: 768px) {
header.side #logo img {
max-width: 280px !important;
}
}
Paste it into the Custom Css field and Click Save All Changes. Depending on the size of your logo and how you want it to look, you can adjust the 280px part until you get the best results. Refresh one of your pages and play around with the width of the browser so you can see how the adjustments are rendered.
And that's how you can use Custom Css to override the main CSS of your theme to make fine tuning customizations, at least with Thrive Themes.
For more tips to help you with your Online Business Skills and turn your Passion into Success, Subscribe Here.
What are the 3 things you need to start an Online Business? Click Here to find out.
If you liked this video, please Like and Share it. It would be much appreciated.
Did you know you can create your own website with 1 click of a button. Start yours now with Bluehost. Up to 66% off!
Transcript of Video
Tags: logo,shrinking,logo shrinks too much,how to stop logo from shrinking,responsive web page,custom CSS,CSS,max-width,important,Thrive Themes,Rise Theme,logo too small on phone
Beautiful WordPress Website for $3 a month using Bluehost Astra Elementor
This is possibly the best most affordable beautiful website you can make
OceanWP Installation Problems and too many ads not best free theme 2020 Review
OceanWP always seems to make the top 5 for most people's (WP
How to Safely Update WordPress, PHP and Theme
It can be scary to update PHP, WordPress and your Theme, because
If WordPress Theme is Suspended like Astra You can still Manual Install & Create Site
The over 1 million user WordPress Astra Theme was Suspended early Aug
Pro Website in 3 Mins with Best Free Theme Astra Elementor WPforms Templates 2020
The best free WordPress theme complete with free templates, visual editor, and
Change Admin Author Profile Picture in WordPress using Gravatar
In this video, we change the WordPress Admin or Author Profile Picture,