-
AuthorPosts
-
August 10, 2009 at 7:00 am #143348
Hi,
I have installed the JA Nickel template. However, the default read more is grey in colour as the rest of the text.
I need to change the colour of readmore to red or something like that and i need a horizontal line to come immediately after each readmore. Also the current readmore has a one line space after the intro text. I need the readmore to come immediately in the same line after the intro text. Could someone help me?Thanks in advance.
antoniu1 Friendantoniu1
- Join date:
- July 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 40 times in 1 posts
August 10, 2009 at 11:47 am #313716Hi Manage,
Ja Nickel has readmore links that are not the same color. They are having a different background and are highlighted when hovering. Can’t find what you mean?
Tom
antoniu1 Friendantoniu1
- Join date:
- July 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 40 times in 1 posts
August 10, 2009 at 11:51 am #313719If you want to change the background color, here’s where you do it:
Open template.css in the css directory and edit this:
a.readon {
background: #333333;
color: #CCCCCC;
text-align: center;
text-decoration: none;
padding: 2px 5px;
}a.readon:hover, a.readon:focus, a.readon:active {
background: #D33615;
color: #FFFFFF;
text-decoration: none;
}
Let me know if this helps you!
Thanks,
Tom1 user says Thank You to antoniu1 for this useful post
cjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
antoniu1 Friendantoniu1
- Join date:
- July 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 40 times in 1 posts
August 10, 2009 at 12:54 pm #313729Hi Cheryl,
Add this line to both blocks:
border-bottom: 1px solid #666666;
also, you might have to add some padding between the line and the readmore. To do that add the amount of px to the padding:
padding: 2px 5px;
becomes then:
padding: 2px 5px px;
The padding (spacing) order works like this:
padding: px
px [BOTTOM]px
px;
That should do it!
Hope this works for you,
Tomcjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
August 10, 2009 at 2:45 pm #313738I don’t want any line or space, I would like the readmore to come directly after the text (in module and content)
<blockquote>Intro Text
Here is my intro text and it is a few paragraphs. READMORE
</blockquote>Not
<blockquote>Intro Text
Here is my intro text and it is a few paragraphs.READMORE
</blockquote>Any idea how and where to do this? (especially for modules)
Thanks if you can help!
Cheryl
1 user says Thank You to cjmicro for this useful post
antoniu1 Friendantoniu1
- Join date:
- July 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 40 times in 1 posts
August 10, 2009 at 3:22 pm #313741The spacing you see is due to the use of <p> paragraph text </p> for the text. They have defined 15px and 15px bottom. Change the bottom to 0 and the spacing is gone.
But then the readmore is still on a new line, I know. If you want the readmore to appear right behind the text, remove the paragraph formatting. Because after a </p> there’s always a jump to a newline. I think that will do the job.
Can’t test it, as I don’t have that template installed.
Hope this helps,
Tomcjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
August 10, 2009 at 3:24 pm #313742Tom thanks for continuing to try and help. I have tried without the <p> also, and many ways as far as that goes. However, I believe the positioning of the readmore (in the highlight module) is coming from a CSS somewhere. I just can’t figure out how to change it!!
Cheryl
August 10, 2009 at 3:58 pm #313745Hi,
Thanks for the replies.
However check this site. http://www.bellarydiocese.in/joomla
Here, the events and updates on the front page are using the K2 Content Manager. However, the readmore appears in grey and i need to change this colour. Please help.
antoniu1 Friendantoniu1
- Join date:
- July 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 40 times in 1 posts
August 10, 2009 at 6:21 pm #313758Cheryl,
I think it might be hardcoded into the php file responsible for that formatting.
Manage,
You selected the blue variant of the template. Therefore find this block in blue.css, probably in css/colors/
a.readon {
background: #106494;
color: #DEEFFB;
}a.readon:hover,
a.readon:focus,
a.readon:active {
background: #8C9520;
}
That will do it.
Cheers,
Tom1 user says Thank You to antoniu1 for this useful post
cjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
August 11, 2009 at 10:31 pm #313901Tom, thanks for the info… that’s kind of what I was figuring. Just need to figure out where that php code is and get my programmer on it! So if you have any ideas, please let me know,
Cheryl
antoniu1 Friendantoniu1
- Join date:
- July 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 40 times in 1 posts
August 11, 2009 at 10:38 pm #313903Hi Cheryl,
If you wish I can look at it for you. If you wish me to, you can email at tomdekok@hotmail.com.
Tom
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by antoniu1 15 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum