-
AuthorPosts
-
erickpaulino Friend
erickpaulino
- Join date:
- May 2013
- Posts:
- 78
- Downloads:
- 12
- Uploads:
- 25
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
October 7, 2014 at 1:57 pm #201888Hello,
I’m having a problem with the layout of the featured articles in Home. Please see the attached image. You’ll note that when I add a line in the beginning of an article, the introtext converts it into a column, and then it breaks, as you can see in the image.
How can I fix it?
Thank you
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 8, 2014 at 6:45 am #552226Hi Erick,
It due to the custom CSS you added in this file: /templates/ja_magz/css/custom.css
.blog-featured.av-grid .article-intro, .userpage.av-grid .article-intro {
display: flex;
justify-content: space-around;
}
try to change it to:
.blog-featured.av-grid .article-intro, .userpage.av-grid .article-intro {
display: inline-block;
justify-content: space-around;
}
Have a nice day
SaguarosPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 8, 2014 at 7:11 am #552230HI
you have added some custom code into your custom.css file , that i causing this issue .
Go to /templates/ja_magz/css/custom.css
find this Code:
.blog-featured.av-grid .article-intro, .userpage.av-grid .article-intro {
display: flex;
justify-content: space-around;
}
and change the code
>>> display: flex;in to
display : inline-block; .
like this code :.blog-featured.av-grid .article-intro, .userpage.av-grid .article-intro {
display: inline-block;
justify-content: space-around;
}if you want you can also remove the code >> display: flex; .
it will also fix the issue .1 user says Thank You to Pankaj Sharma for this useful post
erickpaulino Frienderickpaulino
- Join date:
- May 2013
- Posts:
- 78
- Downloads:
- 12
- Uploads:
- 25
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
October 8, 2014 at 11:02 am #552261Hello,
Thank you for you both!
That code was an attempt to justify the intro text, which you can see, didn’t work. Do you have a suggestion on how I can justify the intro text?
Thank you again,
Erick
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 8, 2014 at 11:28 am #552263Hi to make the intro text justify . Just add
text-align :justify in the same code you added above .
like this.blog-featured.av-grid .article-intro, .userpage.av-grid .article-intro {
display: inline-block;
justify-content: space-around;
text-align: justify;
}save and check intro text is now in justify format . >>>> http://prntscr.com/4u5w5r
1 user says Thank You to Pankaj Sharma for this useful post
erickpaulino Frienderickpaulino
- Join date:
- May 2013
- Posts:
- 78
- Downloads:
- 12
- Uploads:
- 25
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
October 8, 2014 at 11:42 am #552265Hello,
Just perfect! Thank you!
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 3 voices, and was last updated by erickpaulino 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Featured articles layout problem
Viewing 6 posts - 1 through 6 (of 6 total)