Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How can I hide the "a downloadable game" text when viewing my game's page on mobile?

A topic by RegalPigeon created Oct 29, 2020 Views: 431 Replies: 2
Viewing posts 1 to 2

When I view my page on PC, the "a downloadable game" text is hidden. However, if I reduce the width of the browser window or view the page on mobile, the text appears below the banner image. Is there a way to hide it at all times? I have custom CSS enabled but I'm not familiar with it.

Thanks!

Moderator(+3)

Looking at the html of the page:

It looks like you may need to hide the class ‘header_buy_row’. It’s worth checking around if this appears in a different part of the page that you want to be visible. After a quick search I couldn’t find any other instance.

There are multiple ways to hide it, each with their cons and pros. Once I could think is with CSS:

display: none;

That removes it from the page so that it doesn’t consume any space, but it might move some other elements around.

I hope this helps, I haven’t tried custom CSS on Itch, so I’m not aware of any pitfalls this might create.

(+2)

Thank you very much! I added the custom CSS below and it hides the text entirely (I'm using a test page for an updated version of my game so this change isn't visible on the current page).

.header_buy_row {
visibility: hidden;
height: 0px;
}
This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.