-
AuthorPosts
-
July 26, 2014 at 3:08 pm #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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 28, 2014 at 8:37 am #543589Hi 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
July 28, 2014 at 12:27 pm #543640Hi,
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’
malajkaJuly 28, 2014 at 12:41 pm #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’
MalajkaNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 29, 2014 at 9:28 am #543766Hi 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> -
AuthorPosts
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