Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #287436
    dominicobrien
    Participant

    Hi,

    I am trying to make my site mobile friendly. I would like to keep the same menu design as the desktop version of the site, but it changes when used on a mobile. Is it possible to do this?

    Also i’m not happy with the size and position of the images on the mobile site. but i don’t seem to be able to edit this in visual composer. I should be able to select the type of device in the top menu and then adjust the size and layout of the columns etc but this option seems to be missing. I have been through the x integration settings and made sure all the controls are available for visual composer.

    How can i do this, if it is not possible what is the best way to make the images i have added responsive.

    Thx

    #287444
    dominicobrien
    Participant

    The address of my site is http://www.ctrlsoundacademy.com

    #287552
    dominicobrien
    Participant

    Ive been looking at this further …. So it seems the images are responsive because as i reduce the screen size they also reduce in size .. However when i get to a certain point (to something simular to an iphone screen) all the images increase in size and take up the whole page .. is there anyway i can stop this happening so that they just keep reducing evenly?

    #287857
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! You can try adding the following code in your Customizer via Appearance > Customize > Custom > CSS:

    @media screen and (max-width: 767px) {
    .x-column.x-sm {
      float: left !important;
    }
    .x-column.x-1-3 {
      width: 30.66666% !important;
    }
    }

    Let us know how this goes!

    #288376
    dominicobrien
    Participant
    This reply has been marked as private.
    #288667
    Paul R
    Moderator

    Hi,

    Sorry about that.

    You can add this under Custom > CSS in the Customizer.

    
    @media (max-width: 767px) {
    .x-column.x-sm {
        width:50%;
        padding:2%;
    }
    }
    

    Hope that helps.

    #290768
    dominicobrien
    Participant

    Hey there, thanks for your help…

    The second code you sent over doesn’t seem to change anything. However i noticed the first code does actually work on some of the images on the page. If you check out the website (www.ctrlsoundacademy.com) you can see that he course images are changing but the DJ images are staying the same now and work well.

    Is there a way to make all the images behave like the DJ images?

    #291396
    Rue Nel
    Moderator

    Hello There,

    Upon checking your site, we could not see that you added the second code we gave you. The DJ images is a 3 column arrangement on larger screen, if you want to display 2 columns on smaller screens, you will have an extra empty space to right of the second row of the DJ images.

    Please try to use this code:

    @media (max-width: 767px) {
     .x-column.x-sm {
        width: 50% !important;
        padding: 2%;
     }
    }

    The code forces the columns to display 50% in width or 2 columns.

    Hope this helps. Kindly let us know.

    #293310
    dominicobrien
    Participant

    Hi … Thanks for looking … I’m actually happy with the way the DJ images are already. I just want the course images above to behave in the same way (downsize to a smaller screen, but keep the same layout). Is this possible?

    Thx

    #293966
    Rad
    Moderator

    Hi there,

    Yes, that’s possible. You may use block grid instead of columns 🙂

    But if you still preferred of using columsn, then add this css too

    .fixed-column .x-column.x-1-4 {
      width: 22% !important;
      float: left !important;
      margin-right: 4% !important; 
    }
    .fixed-column .x-column.x-1-4:last-child {
      margin-right: 0 !important;
    }
    

    Then add fixed-column to the content band’s class attribute/option where it wraps your courses columns.

    Eg. [content_band class=”fixed-column”]

    Cheers!

    #294265
    dominicobrien
    Participant

    Hey 🙂 thats great .. i fixed it! Thank you for your help

    I’m nearly there now …… Is there a way to make the menu appear on mobiles just like in the desktop version?

    #294746
    Rad
    Moderator

    Yes there is 🙂

    .x-nav-wrap.mobile {
      display: none !important;
    }
    .x-nav-wrap.desktop {
      display: block !important;
    }

    Cheers!

    #300637
    dominicobrien
    Participant

    hi there … thanks for this .. unfortunately the left hand side of the menu has now disappeared off screen .. you can take a look on the website .. how can i fix this .. thank you!!!!

    #300643
    dominicobrien
    Participant

    hey, it would be awesome if you could let me know this now .. trying to launch the website today 🙂

    #300910
    Thai
    Moderator

    Hi There,
    Try adding following CSS under Appearance > Customize > Custom > CSS:

    @media (max-width: 480px){
    .masthead-inline .x-navbar .desktop .sub-menu {
        left: 0;
        right: auto;
    }
    }

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-287436 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>