-
AuthorPosts
-
seaneo Friend
seaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 3, 2013 at 8:02 pm #183614Hello
..how do I insert a few pixels to the left of the text in an article preview, so the text does not line up exactly with the colored edge, as shown at this graphic?
http://easycaptures.com/fs/uploaded/503/7427967622.jpg
..also, in an actual article, how do the same?
http://easycaptures.com/fs/uploaded/503/0981338174.jpg
many thanks!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 3, 2013 at 10:25 pm #478336Hi Tom,
The site URL is:
Sorry but I could not locate that setting anywhere – can you tell me , in a different way, where it is?
thanks!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 3, 2013 at 10:29 pm #478337Try this . . . .
Within file path –> /templates/ja_wall/themes/minimalist/css/theme.css
at line 467, you will see the following:
.item .item-main {
background: none repeat scroll 0 0 #FFFFCC
padding: 0
}add a “padding-left” property to the rule, for example . . . .
.item .item-main {
background: none repeat scroll 0 0 #FFFFCC
padding-left: 5px;
}You can, of course, play around with the pixel value until you arrive at the desired indentation.
Hope That Helps
1 user says Thank You to TomC for this useful post
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 4, 2013 at 1:39 am #478344Thanks Tom – before I try this, I notice that the code in that file on my server at line 467 is
.item .item-main {
padding: 0;
background: #ffffcc
}..which differs a little from what you showed.
Should I worried about that? I am on 1.05 still because I saw some possible related problems with 1.06 and 1.07 upgrade and so have not upgraded yet
your thoughts?
Also, will this tweak also fix my challenge with the article preview on the home page or will it just address the article?
thanks in advance,
arucardx Friendarucardx
- Join date:
- July 2010
- Posts:
- 346
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 21
- Thanked:
- 138 times in 104 posts
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 4, 2013 at 11:41 am #478439Ok I did it thanks- and by the way it seems no matter whether I use 5, 3, or 2 as that last number (for the left), it seems to put about 4 pixels no matter what. Is that what you see also? at http://173.254.15.37
How about the articles themselves? which code to affect to create a slight indent?
many thanks
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
January 5, 2013 at 11:13 am #478533Hi seaneo,
You may try this
Open file templates/ja_wall/css/template.css line 1917
.item-page {
background-color: #FFC
padding: 10px; /* change the value here just like above */
}
Hope it helps. :laugh:
Regards
1 user says Thank You to Wall Crasher for this useful post
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 5, 2013 at 4:03 pm #478553got it, did it, done, thank you
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 10, 2013 at 11:29 am #479259just a follow up to post # 6 on this thread…
I am using :
.item .item-main {
padding: 0 0 0 1;
background: #ffffcc
}
but my measuring tool shows about a 12 pixel indent when really I only want a 5 pixel indent.
But no matter whether I use 1 or 5 it still puts a 12 pixel indent.
Any ideas?
thank you
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 13, 2013 at 1:47 am #479509Hi Wall Crasher,
I don’t have such syntax near line 180 – I am on version 1.5 still
see this:
http://easycaptures.com/0610110507What could I change from here to fix the problem?
Many thanks
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
January 13, 2013 at 12:18 pm #479531<em>@seaneo 354855 wrote:</em><blockquote>Hi Wall Crasher,
I don’t have such syntax near line 180 – I am on version 1.5 still
see this:
http://easycaptures.com/0610110507What could I change from here to fix the problem?
Many thanks</blockquote>
Hi seaneo,
You’re looking at the wrong css file. look in template.css at line 180 not theme.css :p
🙂
Site is looking good! Well done.
-
2 users say Thank You to swissa for this useful post
seaneo Friendseaneo
- Join date:
- December 2009
- Posts:
- 421
- Downloads:
- 4
- Uploads:
- 49
- Thanks:
- 244
- Thanked:
- 12 times in 1 posts
January 14, 2013 at 11:47 am #479637oops – sorry Wall Crasher and thanks Swissa! – all done and taken care of, and thanks for the word!
AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 5 voices, and was last updated by seaneo 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
how indent in article preview and article
Viewing 14 posts - 1 through 14 (of 14 total)