- This topic has 5 replies, 2 voices, and was last updated 8 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Epik Theme Support › Align left on mobile devices
Tagged: align left on mobile devices
Wes, (or anyone else who knows)
How do you make the text and other elements align left (instead of center) on mobile devices?
5,000 good vibes will be sent instantly to the person with the right answer. Then I’d suggest they buy a lotto ticket. ๐
Brad
It depends which part you want to align left. For example, to make everything on the homepage align left you can adjust the responsive css that kicks in when viewing in mobile devices –
.welcome-feature-1,
.welcome-feature-2,
.welcome-feature-3,
.home-feature-1,
.home-feature-2,
.home-feature-3,
.home-feature-4,
.home-feature-1,
.home-feature-2,
.home-feature-3,
.home-feature-4,
.home-feature-5,
.home-feature-6,
.home-feature-7,
.home-feature-8,
.home-feature-9,
.home-feature-10,
.home-feature-11,
.home-feature-12,
.home-feature-13,
.home-feature-14 {
margin: 0 auto;
text-align: center;
width: 100%;
}
The above code is around line 4114 in the default Epik css file. If you’ve made changes then it may be located on another line.
Change the code that says "center"
to left
and that’s it, for that part.
Thank you, Wes. Especially for the quick reply.
How do I make everything align left on all pages.
Brad
Wes, I got it. I should have played with it before replying.
I’m sending you an extra 2,000 GV’s for a total of 7,000! I’d definitely buy a lotto ticket with that positive load.
Thank you for your help.
Brad
Haha thanks! I’ll make sure and split the winnings ๐
Glad everything is working, just let me know if you need anything else.
Split the winnings? Wow! You’re an honest man. Please just do a direct deposit to account number: 777********. I’ll know if you win by your absence here. ๐
Brad