Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #840015
    #841321

    Hey Valerie,

    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 (min-width: 768px) and (max-width:1024px) {
    #layer_slider_1,  #layer_slider_3{
          min-height: 190px;
    }
    .ls-wrapper.ls-bg-outer, .ls-wrapper.ls-bg-outer img, .ls-inner {
       min-height: 190px;
       height: 200px !important;
    }
    }
    @media only screen and (max-width: 767px) {
    #layer_slider_1,  #layer_slider_3{
          min-height: 100px;
    }
    .ls-wrapper.ls-bg-outer, .ls-wrapper.ls-bg-outer img, .ls-inner {
       min-height: 100px;
       height: 110px !important;
    }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #841513

    Thanks, Victoria! This worked great for taking care of the tablet issues. On the phone screen, however, the image in the slider is not behind the transparent logo and still below the logo/header area. Is there a fix for that? Appreciate the help!

    Valerie

    #841979

    Hi Valerie,

    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 .av_header_transparency {
        background: transparent;
        position: absolute!important;
    }}
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #842087

    Hi Victoria,

    That worked great! The logo was partly hanging over the slider image, so I adjusted the min-height and height to take care of that issue.

    Next question: is it possible to have the logo and full main nav menu show and be centered when the phone is rotated to landscape? Should I start another thread for that?

    Valerie

    #842093

    And one more: On the tablet and phone the slider image is not responsive horizontally and the image width is compressed. Is there a fix for that? (Landscape is OK.)

    Thanks for all the help in making my website professional and beautiful!

    Valerie

    #843441

    Hi,

    Please try the following css code to display the default menu on landscape mode.

    @media only screen and (max-width: 767px) and (orientation: landscape) {
    .responsive #top .av-main-nav .menu-item {
        display: block;
    }
    
    .responsive #header_main_alternate {
        display: block;
    }
    
    .av-hamburger {
        display: none;
    }
    
    .responsive #top .logo {
        position: relative;
        display: block;
        float: left;
        width: auto;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    li.av-burger-menu-main.menu-item-avia-special {
        display: none !important;
    }
    }

    Best regards,
    Ismael

    #845444

    Hi All, thanks so much for help!

    Thanks, Ismael, the code for the phone screen to show the full nav menu and hide the burger in landscape mode worked great, with two minor issues:
    (1) I need to change the color of the text of the main nav menu to the pink it is on the website and the vertical dividers in between the menu items to another color.
    (2) In phone portrait screen, the burger needs to be the same pink as the menu items.

    How would I do both of these?

    Valerie

    #845450

    Again, to everyone who is helping, thanks!

    I am still having an issue with the positions of the logo and slider image that is under the transparent header on a phone screen. In portrait view, the logo flows over the bottom of the slider. The slider image needs to extend to just below the logo and maintain the scale in the horizontal direction. I tried the following code and, while it worked to extend the slider image to just below the logo, it did not scale horizontally when it was scaled up vertically:

    @media only screen and (min-width: 768px) and (max-width:1024px) {
    #layer_slider_1,  #layer_slider_3{
          min-height: 190px;
    }
    .ls-wrapper.ls-bg-outer, .ls-wrapper.ls-bg-outer img, .ls-inner {
       min-height: 190px;
       height: 200px !important;
    }
    }
    @media only screen and (max-width: 767px) {
    #layer_slider_1,  #layer_slider_3{
          min-height: 100px;
    }
    .ls-wrapper.ls-bg-outer, .ls-wrapper.ls-bg-outer img, .ls-inner {
       min-height: 100px;
       height: 110px !important;
    }
    

    The link to the site is in the private area.
    Thanks for thinking about this.
    Valerie

    #846736

    Hi,

    1.) Insert this code inside the “landscape” media query:

    #top #wrap_all .header_color.av_header_transparency, #top #wrap_all .header_color.av_header_transparency .phone-info.with_nav span, #top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-text, #top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-subtex {
        color: red;
    }

    2.) Use this css code to change the color of the mobile menu.

    .header_color div .av-hamburger-inner, .header_color div .av-hamburger-inner::before, .header_color div .av-hamburger-inner::after {
        background-color: red;
    }

    3.) Please add this code inside the css media query to increase the height of the layer slider.

    #layer_slider_1, #layer_slider_1 .ls-inner, #layer_slider_1 .ls-inner * {
        min-height: 190px !important;
    }

    I think it’s better if you’re just using the color section element since there are no animations or complex layers, just a background.

    Best regards,
    Ismael

    #849178

    Thanks, Ismael. Everything is working great except for two issues remaining only in portrait view on phone: Link to site in private area.

    1. The bottom of the logo is still over the bottom of the image behind it.
    2. The menu symbol is still not changing to the color I specified.

    Also, I tried using the color section but ended up with the image not extending across the entire screen and scaling properly.
    Can you help with #1 and #2?Then I’m good to go.

    Appreciate the help!
    Valerie.

    #849481

    Hi,

    1.) I can’t see this issue. Could you please provide a screenshot?

    2.) It is working on our installation. Please make sure that there are no invalid css modifications in the Quick CSS field. Check if there are missing curly braces or semicolon.

    Best regards,
    Ismael

    #849675

    Hi Ismael,

    I have checked the CSS code and corrected an error. With the exception of phone portrait display, the home page is displaying as I intend it to. There is still one issue with the portrait display on my Android phone, Samsung S8. The logo (the word “graycful”) is not entirely on top of the slider image. I have cleared the cache multiple times, and the problem persists. We have focused on increasing the height of the slider image, which has been tricky and resulted in horizontal scaling issues on the phone, or other directional scaling issues on a tablet. I wonder if the easier task is to have the logo scale a little smaller for only the phone portrait display.

    A link to an image with issue is in the Private Content. I also created a new user and password for your access to the CSS, and the login info for that is also in the Private Content. Thanks for checking this out for me. I’m sure you’re just a ready as I am to resolve this. ;-)

    Valerie

    #849840

    Hi,

    We sorted/edited the css codes in the QuicK CSS field and added the following css code to adjust the height of the layer slider on smaller screens.

    
    @media only screen and (max-width: 480px) {
      #layer_slider_1, #layer_slider_1 .ls-inner, #layer_slider_1 .ls-inner * {
          min-height: 190px !important;
      }
    }

    This will distort the layer slide image a bit. Adjust the value as needed.

    UPDATE: If you want to decrease the size of the logo, just insert this code inside the css media query with viewport (max-width: 480px).

    .responsive .logo img {
        width: auto;
        max-height: 50px;
    }

    Default max-height value is 80px.

    Best regards,
    Ismael

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