Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • malajka Friend
    #200008

    Hi,

    Im using your mediacare template.
    What file (and where can i find the file) is responsible for displaying items in category blog ?

    normally it would be ‘/components/com_content/views/category/tmpl/blog_item.php’ right ?

    I want to prevent article intro images from displaying on mobile devices.

    Can you please give me a hint ?
    Regs’

    Ninja Lead Moderator
    #543589

    Hi Regs

    Please don’t change this from JOOMLA core you can override it from JA Medicare by:

    + Copy components/com_content/views/category/tmpl/blog_item.php and paste to templates/ja_medicare/html/com_content/category folder

    + Open blog_item.php file in template and change anything if you wish

    About your request to prevent article intro images from displaying on mobile devices, you can use my solution below

    + Create templates/ja_medicare/css/custom.css file and add css style below

    @media (max-width: 767px) {
    .article-intro img, .article-content img {
    display: none;
    }
    }

    Let me know if it helps

    malajka Friend
    #543640

    Hi,
    Your solution helped, Thank you.

    I just have another question, Maybe someone had similar problem..
    when i browse my website on my ipad special characters from my language example are not displaying well
    Any idea why its happening ?

    Regs’
    malajka

    malajka Friend
    #543644

    .. Ok, cancel that last request,

    I have added :
    <link href=’http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700&subset=latin,latin-ext’ rel=’stylesheet’ type=’text/css’>

    To head.php block and everything is working.
    I think adding “Latin-Ext” helped.

    Is it possible to do the same with the file “assets.xml” in etc folder?
    how can i add ‘subset’ there ?

    Regs’
    Malajka

    Ninja Lead Moderator
    #543766

    Hi Malajka,

    You can user my solution to work with it

    Open templates/ja_sugite/etc/assets.xml file

    Change

    <stylesheets>
    <file>fonts/font-awesome/css/font-awesome.min.css</file>
    <file>http://fonts.googleapis.com/css?family=Raleway:400,100,300,500,600,700</file>
    </stylesheets>

    To

    <stylesheets>
    <file>fonts/font-awesome/css/font-awesome.min.css</file>
    <file>http://fonts.googleapis.com/css?family=Raleway:400,100,300,500,600,700</file>
    <file>http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700&subset=latin,latin-ext</file>
    </stylesheets>

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum