-
AuthorPosts
-
amir00251 Friend
amir00251
- Join date:
- January 2011
- Posts:
- 113
- Downloads:
- 38
- Uploads:
- 13
- Thanks:
- 13
- Thanked:
- 11 times in 1 posts
July 22, 2013 at 8:23 pm #189156Hello,
Ja Smashboard is a mobile friendly template (responsive) however I want to add a Article Submit form and the form elements disappear in mobile screen.
Just as an example on the Editor (JCK), difference can be seen below:
Now, I can add a custom css such as
.cke_skin_office2007 span.cke_wrapper.cke_ltr {
width: 700px !important;
}to change the width of editor but my question is how I can make this happen only for Mobile css? Maybe I can add a custom css only for tablets for example? how this is possible.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 23, 2013 at 9:16 am #499880You can try with my following suggestion:
+ Create custom.css file on this path: templates/ja_smashboard/css/
+ Add your custom css script into it.
If you can customize css for mobile and tablet as my sample
/* mobile */
<blockquote> @media (max-width: 767px) {
.cke_skin_office2007 span.cke_wrapper.cke_ltr {
width: 700px !important;
}
}
</blockquote>/* tablet */
<blockquote> @media (min-width: 768px) and (max-width: 979px) {
.cke_skin_office2007 span.cke_wrapper.cke_ltr {
width: 700px !important;
}
}</blockquote>1 user says Thank You to Ninja Lead for this useful post
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
css for mobile friendly page elements
Viewing 2 posts - 1 through 2 (of 2 total)