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

    Hi there,

    I have 3 problems with the responsiveness of my site:

    1. I am using typography.com fonts (you don’t need typeface on css) on my website. The fonts are working perfectly on desktop. Even though I place the same font styling code on the bottom mobile section of the custom.css file, they are still not working on mobile.

    2. On mobile, as you see here, even though I define the same styling on mobile section of the custom.css, the logos of both social networks and publishers still have list style (the bullet points, I mean) and they are not in line.

    3. The paddings or background colors that work on desktop also don’t work on mobile. See this, the background color of the signup section is actuall grey (#f2f2f2) and also ‘the social call to action buttons’ on top have a padding, but instead on mobile they stick to the top.

    Could you help where I get these points wrong, please?

    Thank you so much!
    Ali

    #347613

    Hi Mesheu!

    Thank you for using Enfold.

    1.)Please add this on Quick CSS or custom.css:

    @media only screen and (max-width: 767px) {
    ul.socialmedia li, ul.logos li {
    width: auto;
    display: inline-block;
    }
    }

    2.) Use this to remove the bullet points:

    @media only screen and (max-width: 767px) {
    ul.socialmedia, ul.logos {
    list-style: none outside !important;
    }
    }

    3.) I think you confused max-width and min-width viewport. You have this code:

    @media only screen and (min-width: 768px) {
    #slider {
    background: #f2f2f2;
    padding: 10em 0;
    }
    }

    The background will only be applied for screen sizes larger than 768px that is why the background defaults back to #ffffff when you view the site on mobile device. You should use max-width instead of min-width.

    Best regards,
    Ismael

    #347644

    Hi Ismael,

    thank you so much for your great support as always. I am afraid all problems are still there though :(

    1. This point was about the fonts since they were not rendering on mobile. Could you kindly check above?

    2. I added the code, it’s still not working.

    3. I added the following code also to the section with max-width but it’s still not working:
    #slider {
    background: #f2f2f2;
    padding: 10em 0;
    }

    Could you check these 3 points again please?
    Thank you so much!!
    Ali

    #348116

    Hi!

    1.) Yeah. Sorry about that. Same problem. The css declaration is inside a media query:

    @media only screen and (min-width: 768px) {
    .template-page .entry-content-wrapper h1, h2, h3, h4 {
    color: #333;
    font-family: 'Gotham A','Gotham B',sans-serif;
    text-transform: uppercase;
    margin-bottom: 0;
    }
    }

    The css codes are not added. I guess there are broken media queries on your Quick CSS field. Please check. Post the css code on pastebin.com. We would like to check it.

    Best regards,
    Ismael

    #348167

    Hi Ismael,

    yes, I know I have to add the code to the mobile section, too. But whatever I put doesn’t work.

    I cleaned up the css file and pasted it here: http://pastebin.com/YFFN4KHX

    I also assume there are some broken things on the file, please be so kind to check and let me know!
    Thank you!
    Ali

    #348272

    So, I went on to css and realised the closing tag ‘}’ of desktop styles was missing and I added it but the mobile styles are still not working…

    #348283

    Ok, after wasting hours and hours, finally fixed it :) yes! :)

    Only 2 minor problems left:

    1. On about me page here, the cover image and the title don’t get responsive accordingly as you can see here. The cover image is shown partially and the slide caption h2 doesn’t get the font-size:3.828125em accordingly, it is too small.

    2. On the mobile home page, the avatar is too big as you can see here. How can I make it like 60% size and still keep it at the center of mobile screen?

    Sorry for being a pain and hopefully we get this done after these 2 problems.

    Thank you!
    Ali

    #348601

    Hey!

    1.) You can change the background position of the fullscreen slider with this:

    .avia-fullscreen-slider .avia-slideshow>ul>li {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center !important;
    }

    Change the caption text size with this:

    @media only screen and (max-width: 479px) {
    .responsive #top .slideshow_caption h2 {
    font-size: 50px !important;
    }
    }

    2.) Use this to modify the image size:

    @media only screen and (max-width: 479px) {
    .home .flex_column.av_one_fifth.first.avia-builder-el-3.el_before_av_four_fifth.avia-builder-el-first .avia-image-container-inner img {
    width: 60%;
    margin: 0 auto;
    }
    }

    You can also use the Custom CSS Class: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Regards,
    Ismael

    #348650

    Thank you, Ismael!! You guys are amazing! Ok, sorry for that, I will open another thread for additional questions.

    One last thing with related to this thread is the following code you suggested solved the problem:

    .avia-fullscreen-slider .avia-slideshow>ul>li {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center !important;
    }

    However, when I asked to show the featured image in full size, I meant like this here. Can I make the image like this attached image, showing full image?

    Thanks and sorry for the pain!
    Ali

    #349190

    Hi Ali!

    We managed to do something like that for this user, it may do the trick:
    https://kriesi.at/support/topic/new-blog-layout-cant-make-featured-image-full-width/

    Cheers!
    Josue

    #349814

    Thank you so much, Joseu!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Mobile responsive not working’ is closed to new replies.