Okay
  Public Ticket #945440
mobile class change
Closed
  • Greg replied

    Don't worry about a response figured it out....

    .center { text-align: center; }

    .alignleft { text-align: center; }

    .alignright { text-align: center; }

    .center-mobile { text-align: center; }

    @media (min-width: 768px) {

               .content { padding-top: 60px; padding-bottom: 50px; }

               .center-mobile { text-align: left; }  

              .alignleft { text-align: left; padding-top:40px !important; }  

              .alignright { text-align: right; }

    }

  • Greg started the conversation

    Hi,

    I noticed that in the css file you have a class "center" and another one "center-mobile".  I'd like to use the same idea, but instead of center id like to use right and right-mobile. 

    My question is where in your code do you switch the class based on screen size?

    Any help would be appreciated

    Greg