Home>Support>Post navigation buttons get cut off on mobile

Post navigation buttons get cut off on mobile

By Radu, 7 years ago. Last reply by Radu, 7 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello!

I’m not a CSS expert, but I know enough to perform some minor changes, like I already did on the Vantage theme (free version), but I got stuck on the last thing I wanted to fix – the post navigation buttons.

As you can see in the below screenshot, they get cut off on the right side.

View post on imgur.com

I tried padding, margin, float, and everything that I could think of, but I couldn’t get it fixed.

I also checked the Vantage demo theme, and the same thing happens there, as you can see in the below screenshot:

View post on imgur.com

I had to narrow down the browser to a minimum in order to reproduce the issue, since the post titles in the demo theme are very small.

The buttons fit properly when the titles are small, but if the titles are bigger in size, they get cut off.

For example, the dummy title from the previous button, from my screenshot, is: “Integer consequat sapien at consectetur auctor”, which is not that big, only has 46 chars.

I also disabled the few plugins that were installed and activated, just to be sure, but it still persisted.

I have the last WordPress and theme version installed, since I just started working on the project.

Would you be so kind to provide a fix for this? Not just for me, but for all the Vantage users :D. It would be much appreciated!

Thank you in advance!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Radu,

    This will be fixed in the next Vantage update. In the meantime, you can fix this by using some custom CSS. Please navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS:

    @media (max-width: 680px ) {
    	.site-content .nav-previous, .site-content .nav-next {
    		white-space: normal;
    	}
    }
    

    You might also need to install the SiteOrigin CSS Editor.

  2. 7 years, 3 months ago Radu

    Heya!

    It worked, thanks a lot!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More