-
AuthorPosts
-
holzlchr Friend
holzlchr
- Join date:
- December 2013
- Posts:
- 16
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 3 times in 1 posts
January 27, 2014 at 11:15 am #194140The intro text behind the flipped image is restricted to 3-4 lines maximum.
I would like to use the whole space to write my intro textWith the “Inspect Element” function in Firefox, I discovered that this height is fixed in: “t3-assetsdevtheme-nametemplates.ja_fixel.less.joomla.less.css” on lines 1155 and 1252 for categories.
I replaced “Height: 60px;” by “Height: 100%;” and I solved the problem for categories…
I also saw the same properties for articles and categories in “templatesja_fixelcsstemplate.css“
– Lines 3979 and 4076 for categories
– Lines 5485 and 5564 for articles
But none of them produce any effect.Could you please clarify how I should set this modification in a correct way ?
Thanks
Christian
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
January 29, 2014 at 8:33 am #520339Hi Christian,
When you want to customise the css, please go the back-end >> template manager, set “OFF” to the Development Mode and Optimize CSS first and then modify /templates/ja_fixel/css/template.css file.
However, I recommend you create a new file “custom.css” in /templates/ja_fixel/css/ directory and add your custom CSS rules. This way will ensure all your customization will be retained when you update template later on.
-
1 user says Thank You to Nazario A for this useful post
holzlchr Friendholzlchr
- Join date:
- December 2013
- Posts:
- 16
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 3 times in 1 posts
January 29, 2014 at 6:10 pm #520403Hi Nazario
Thanks a lot, it works. Here is the complete procedure:
back-end >> template manager
Set OFF Development Mode
Set OFF Optimize CSS
Edit templatesja_fixelcsscustom.css:
==============================
.category-item.items.rotateY article .category-desc .category-intro {
height: 100%;
}
.category-item.items.rotateX article .category-desc .category-intro {
height: 100%;
}
.fixel-grid .items.image.rotateY article .back .article-intro {
height: 100%;
}
.fixel-grid .items.image.rotateX article .back .article-intro {
height: 100%;
}
==============================
Now the text in the back of my squares appears until the end1 user says Thank You to holzlchr for this useful post
February 2, 2014 at 11:05 pm #520870Hi! It’s perfect and simple solution! Do you know how to display full description in text grid?
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
February 4, 2014 at 8:16 am #521068Do you mean that you want to display full description as this image ?
You try to open file: /templates/ja_fixel/css/template.css, then remove the code in red:
.fixel-grid .items.text .article_content .article-intro {
font-size: 14px;
font-weight: 300;
height: 80px;
overflow: hidden;
position: relative;
}But if the description shows fuly, it makes your site not look nice.
-
1 user says Thank You to Nazario A for this useful post
holzlchr Friendholzlchr
- Join date:
- December 2013
- Posts:
- 16
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 3 times in 1 posts
February 4, 2014 at 8:29 am #521072What do you mean exactly by “display full description in text grid” ?
Failing vocabulary, I use the terms “front of the square” “back of the square”.Basically the back of the square is composed of :
- the article title
- the text located before the read-more line in the article
If you do not insert a read-more line, the article text will flow until disappearing at the bottom of the square.
February 10, 2014 at 9:40 pm #522116Nazario, yes I mean exactly that. I understand that it can looks not good if description is long… So is it possible to make shown more than 4 lines of text?
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
February 11, 2014 at 3:49 am #522146Yes, it is possible. Please open the /templates/ja_fixel/css/template.css file, then increase the value of ‘height’ in red as you wish:
.fixel-grid .items.text .article_content .article-intro {
font-size: 14px;
font-weight: 300;
height: 80px;
overflow: hidden;
position: relative;
}1 user says Thank You to Nazario A for this useful post
February 11, 2014 at 9:10 pm #522266Thank you! 🙂
February 11, 2014 at 9:25 pm #522267<em>@Nazario A 410631 wrote:</em><blockquote>@imarjukha,
Yes, it is possible. Please open the /templates/ja_fixel/css/template.css file, then increase the value of ‘height’ in red as you wish:
.fixel-grid .items.text .article_content .article-intro {
font-size: 14px;
font-weight: 300;
height: 80px;
overflow: hidden;
position: relative;
}
</blockquote>Hi, Nazario! It’s perfect for computer, but seems doesn’t working for smartphone screen resolution…
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
February 12, 2014 at 2:32 am #522289Create a new file called: /templates/ja_fixel/css/custom.css and put the following line in it:
@media(max-width: 480px){
.fixel-grid .items.text .article_content .article-intro {
max-height: 160px;
height: 1600px;
}
}
You can increase the value of ‘height’ in red as you wish.
Let me know if this helps
1 user says Thank You to Nazario A for this useful post
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
February 13, 2014 at 5:44 am #522484Try to open file: /templates/ja_fixel/css/custom.css then add this code:
/* Custom for iPhone*/
@media(max-width: 480px){
.fixel-grid .items.text .article_content .article-intro {
max-height: 160px;
height: 160px;
}
}/*Custom for iPad*/
@media(min-width: 768px) and (max-width: 1024px){
.fixel-grid .items.text .article_content .article-intro {
max-height: 100px;
height: 160px;
}
}Hope this clear and helpful to you.
holzlchr Friendholzlchr
- Join date:
- December 2013
- Posts:
- 16
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 3 times in 1 posts
February 13, 2014 at 8:11 am #522507Thanks guys, for making this thread evolve.
Now there is another issue: when one hovers over the text, the mouse becomes a hand (meaning link), but if you click, nothing happens. My client reported this as a bug.
I solved it with a quick and dirty trick: I defined all articles intro-text as a link, and changed the link color as identical to the text color. Of course, the link appears also inside the article, but my client didn’t notice and everybody is happy… up to now.
Ideally, all intro-text should automatically appear linked on the flipped side of the square.
Any solution to this ?
February 13, 2014 at 12:23 pm #522537Now it’s perfect with all devices 🙂 Thank you!!!
AuthorPostsThis topic contains 16 replies, has 3 voices, and was last updated by Nazario A 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum