[Resolved] tasty theme’s css to edit mobile font is missing

Home Forums Support [Resolved] tasty theme’s css to edit mobile font is missing

Home Forums Support tasty theme’s css to edit mobile font is missing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1622874
    liza

    Hi!

    Tasty theme’s CSS to edit mobile font is missing. I am quite clueless about the exact spot where I ought to insert the following CSS code.


    @media
    (max-width: 768px) {
    body {
    font-size: 16px;
    }
    }

    Also, I want to have the posts displayed in columns for each category page but not on my homepage. The problem is that the CSS to edit the number of columns in each category page is also missing. Or do I just need to insert the ff. CSS codes somewhere? If there is a specific spot where I should add these codes..where exactly shall I place them? Thanks in advance.

    add_filter( ‘generate_blog_get_column_count’,’tu_search_column_count’ );
    function tu_search_column_count( $count ) {
    if ( is_search() ) {
    return 33;
    }

    return $count;
    }

    #1622892
    Leo
    Staff
    Customer Support

    Hi there,

    This CSS here:

    @media (max-width: 768px) {
        body {
            font-size: 16px;
        }
    }

    Can be added using one of these methods:
    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Can you open a new topic for the columns question?

    Thanks 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.