How to Remove Lines in a WordPress Website Page

Have you ever viewed a website page on your phone and seen a bunch of ugly, redundant text across the top?

Hiring a designer to help with your site’s UX is something you should probably consider, but maybe not something you’re looking for as a straight-up entrepreneur. After all, you want to keep your website simple and sleek, right?

But it’s not always easy to please everyone, especially when you’re aiming for excellence in every area of your business. When that happens, you have to learn to roll with the punches. At the very least, you can use the below tricks to make your site less egregious when viewed on a small screen.

Change The Font Size

Let’s be honest, not everyone has the attention span of a Goldfish. Even if your website is already optimized for mobile viewing, you can bet the font size on your desktop site is way too big. The point is to make text easier to read on a small screen, not to punish anyone who happens to be accessing your site on the go. To change the font size on your WordPress site, you can use the below code snippet.

Remove Or Reduce The Number Of Images

This one may seem obvious, yet people will still go on vacation trips and buy phones to take photos on, which inevitably leads to more images being uploaded to social media platforms than ever before. If you really want to optimize your user experience for mobile devices, you can remove a few of the unnecessary images used on your site. You don’t have to get rid of all of them, but you can crop the ones you don’t need. For example, if you have an image of a product that is going to be the focal point of the page, you may not need a smaller version nearby to highlight different aspects of the item.

Use Grids For Layout

Remember that not all devices are created equal, and that not every website is going to look great on every one of them. One way you can ensure that, is by using a grid system for your site’s layout. This way, you’ll make sure that your website looks the same (or nearly the same) on any device. Grid systems can be a great starting point for your website design process, letting you see how everything fits together before you start layering on the colors and fonts. You can use a free tool like Litmus to preview how different fonts, colors, and sizes affect the layout of your website.

Widen Your Sidebars

Even if you have the best UX in the world, it won’t matter if your content is cut off in the sidebar of a large device. Instead of having a cramped little sidebar that forces users to scroll right to see everything, make sure that your sidebars are as wide as possible so that the most important content is always visible without having to scrimp on space. If you want to remove extra white space at the top of a page, you can always fold the top bar under the main content. You can also use the below code to remove the background image and white space on your site’s sidebar.

Ensure That Your Fonts And Colors Are Responsive

We need to stop talking about mobile users and start talking about everyone who visits our websites. Today, more and more people are connecting to the internet on their phones, and many of those people have smaller screens than our usual laptop or desktop computer users. To ensure that your fonts and colors look the same on any device, you can use a tool like Material Fonts to test your site’s responsiveness on any device. This way, you can make sure everything looks the same, no matter what screen size someone is using to browse your site.

Use Skeleton Templates

Speaking of Material Fonts, one of the best things about their tool is that it allows you to test how different fonts look on different devices. If you want to ensure that your font looks the same on any device, you can use their tool to compare how various fonts look on a cell phone, tablet, and desktop computer. This way, you can be sure that your site will look the same on any device and ensure that your users have the best experience possible.

Use Media Query Ranges

Not every site is designed for every device. Even if you have the best copy in the world and the most striking images, you’ll never be able to fit all of that on a phone screen. Instead of having a cramped little box at the top of a page with only a small section of content, you can use media query ranges to ensure that the content within fits the screen. In the below example, the text on this page is sized to fit perfectly on a 6-inch iPhone screen, using media queries and CSS to control the size and placement of content on a small screen. (The code for this page will make more sense once you’ve gone through the CSS tutorial below it.)

This type of setup allows you to have multiple versions of your site, with one version designed for smaller screens and one version for larger screens. So, if you have a cell phone in your pocket, you can pull up the small-screen-optimized version of your site for quick access to the information you need. For everyone else, you can open up the large-screen-optimized version of your site, which will give you access to more content and increase the overall usability of your site.

Rework The Call To Action

The biggest problem with having a bunch of text on a page is that sometimes it can be difficult to know what to do next. Especially if you have multiple calls to actions (CTAs) on a single page (like the shopping cart and checkout pages you’ll find on most ecommerce sites). If you want to remove some of the clutter from your site, you can use the below code to create a drop-down menu at the top of your page.

Incorporate More Focus On The Content

One of the best things about most ecommerce sites is that the focus is clearly on the content. You’ll often find large headers at the top of a page with the heading “Shop Now”, followed by a short list of items tagged “Best Sellers”. If you want to remove some of the extra white space at the top of your pages, you can always replace those headers with something more subtle, like a list of categories or a short excerpt from a news story. You’ll also want to look into investing in some of the above tools that can help with your site’s design and usability so that your visitors can find what they’re looking for quickly and easily.