Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1126700

    The blog titles in Blog Post Grid Layout on mobile are overlapping. I’d like to make the titles smaller on mobile only to prevent this (or can text be forced to hyphen break correctly across lines?). The page intro paragraph (which is also H1) and any other text should not be affected.

    #1126919

    Hey m,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
     @media only screen and (max-width:767px){
         #top #wrap_all .all_colors h3 {
            font-size: 22px;
         }
         #top #wrap_all .all_colors h1 {
            font-size: 28px;
         }
     }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1126928

    Should a css style name be added to Blog Post, Screen Options tab, “Custom Css Class” section? Or just leave that field empty?

    #1126956

    It didn’t work in Quick CSS, so I added it to the child theme CSS file as you suggested. It corrects the blog titles on that page, but it also affects the H1 title on that page, as well as H1 and H3 text on other pages, making them too small. Only the blog titles on that one page on mobile need to be smaller.

    Alternatively, on mobile, the blog posts can be single column, instead of double column, in order to resolve the overlap issue.

    #1127410

    Hi,

    before the CSS code use .blog and this will do replace the functionality to work only on the blog page

    Best regards,
    Basilis

    #1127413

    Where exactly in the code?

    #1127415

    I tried a few variations, but none work.

    #1127629

    I tried this too, but it didn’t work.

    #1127929

    Hi m s,

    Please remove the code I gave you before and try this:

    
    
     @media only screen and (max-width:767px){
         #top #wrap_all .all_colors .avia-content-slider h3 {
            font-size: 22px;
         }
         #top #wrap_all .all_colors .avia-content-slider h1 {
            font-size: 28px;
         }
     }
    

    Best regards,
    Victoria

    #1128081

    Thank you, that seems to work.

    #1128188

    Hi,

    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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