Create different styling for mobile and for different widths

More
10 years 11 months ago #43283 by gustavo
Hi I'm real new with FlexiContent, but I have a friend that have a website build with joomla and flexicontent, and he have to templates one for jobs and one for course, I'm trying to build an app which take this pages an put them in an url window of my app, doing this there is no problem, but I want to apply some css (media query) but this affect as well if the customers access from the phone, but I thought to duplicate the page with a different URL an apply the css to this page and not the other I duplicate the template but I not able to get it to work, I will attach some photos showing the categories and the templates, so I been looking in the internet but I don't find any way of doing it.

The help will be much appreciated.
Thanks in advanced.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #43296 by ggppdk
Hello

-- you want to load a different CSS when your site is accessed by mobile clients ?



1. you may enable USAGE of mobile layouts in FLEXIcontent Component configuration (this will allow you to select to 2 templates for your categories and content types, 1 for desktop and 1 for mobile)

2. BUT preferably,
a more flexible way would be to use CSS rules like:
Code:
/* Large desktop */ @media (min-width: 1200px) { ... your CSS rules } /* Medium desktop */ @media only screen and (min-width: 960px) and (max-width: 1199px) { ... your CSS rules } /* Small desktop */ @media only screen and (min-width: 480px) and (max-width: 956px) { ... your CSS rules } /* Very small desktop */ @media only screen and (max-width: 480px) { ... your CSS rules }


Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #43318 by gustavo
Thank you so much.
That helped a lot.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #44945 by ggppdk
Hello

please see a PM that i have sent you

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.459 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline