Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #960662

    Hi,

    How can i set the topbar info (phone no. & language selector) all to be aligned to right? For desktop ver, the language selector now at the left side. And for mobile, both are centered.

    Thanks.

    #960743

    Hey jeffwcy,
    Try this code in the General Styling > Quick CSS field:

    @media only screen and (min-width: 1023px) { 
    .sub_menu {
        float: right !important; 
    }
    }
    @media only screen and (min-width: 767px) and (max-width: 1023px) {
        .sub_menu {
        margin-left: 45% !important; 
    }
    }

    Best regards,
    Mike

      #960834

      Hi Mike,

      It works a half, the desktop ver is ok but for mobile ver, the info is still centered.
      How can i put all info to top right for mobile?

      Thanks.

      • This reply was modified 7 years, 1 month ago by jeffwcy.
      #961317

      Hi,
      Oh I see, you want both to the right all of the time, please remove the above code so we can try again.

      Best regards,
      Mike

      #961355

      Hi Mike,

      Yes ,please.

      #961940

      Hi,
      Try this code in the General Styling > Quick CSS field:

      
      #top #header_meta .sub_menu {
      float: right !important; 
      }
      @media only screen and (max-width: 767px) {
      .responsive #header .sub_menu {
          float: right !important; 
          width: auto !important; 
          text-align: right !important; 
          position: static !important; 
      }
      .responsive #header_meta .sub_menu>ul>li {
          padding: 0px !important; 
      }
      }
      @media only screen and (max-width: 989px) {
      .responsive.html_mobile_menu_tablet .phone-info {
          width: 90% !important; 
          text-align: right !important; 
          position: absolute !important; 
      }
      }
      @media only screen and (max-width: 546px) {
      .responsive.html_mobile_menu_tablet .phone-info {
          width: 80% !important;
      }
      }

      Best regards,
      Mike

      #961960

      Thank you very much, Mike.

      #962030

      Hi,
      Glad we were able to help, we will close this now. Thank you for using Enfold.

      For your information, you can take a look at Enfold documentation here
      And if there are features that you wish Enfold had, you can request them and vote the requested ones here
      For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

      Best regards,
      Mike

    Viewing 8 posts - 1 through 8 (of 8 total)
    • The topic ‘Topbar info alignment’ is closed to new replies.