Colour of Featured articles

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Jan 03, 2015 12:11 pm
Reply with quote
Report this post
Hello!!

How can I change background colour and date's colour of featured articles in Msocial Template? In demo version of Msocial template all is based on orange colour but I would like use a different colour. Thanks a lot. Luca
User avatar
Senior Boarder

teitbite
Sat Jan 03, 2015 12:13 pm
Reply with quote
Report this post
Hi

Please show me an example of a page with featured article You would like to change background for.
User avatar
Moderator

GK User
Sat Jan 03, 2015 12:41 pm
Reply with quote
Report this post
teitbite wrote:Hi

Please show me an example of a page with featured article You would like to change background for.


See:

http://www.venturaluca.com/portal/

articles with title "Greate performance" and "Easy to customize" (they are the same of demo version of the template!).

Thanks.

Luca
User avatar
Senior Boarder

teitbite
Sun Jan 04, 2015 12:01 pm
Reply with quote
Report this post
Hi

Och. You mean articles shown by News Show Pro module. I'm afraid there is no way to tell which article is featured and which one is not. If articles will be static and not change You can add backgorund by position. Like this:

Code: Select all
#nsp-nsp-718 .nspArtPage .nspArt:nth-child(2),
#nsp-nsp-718 .nspArtPage .nspArt:nth-child(4) {
background-color: #000000;
}

User avatar
Moderator

GK User
Sun Jan 04, 2015 2:00 pm
Reply with quote
Report this post
teitbite wrote:Hi

Och. You mean articles shown by News Show Pro module. I'm afraid there is no way to tell which article is featured and which one is not. If articles will be static and not change You can add backgorund by position. Like this:

Code: Select all
#nsp-nsp-718 .nspArtPage .nspArt:nth-child(2),
#nsp-nsp-718 .nspArtPage .nspArt:nth-child(4) {
background-color: #000000;
}



Excuse me, can you explain me better? Where must I put the code you specified? It refers to articles in News Show Pro module? Anyway the question I asked to you refers also to the articles that aren't in News Show Pro module but are marked as "featured" and are in the frontpage position of the template. Look for example at articles with title "Di nuovo nel web!" and "Easy to customize" in my home page: http://www.venturaluca.com/portal: as you can see they have date and other elements in orange.

Thanks a lot.
User avatar
Senior Boarder

teitbite
Mon Jan 05, 2015 11:12 am
Reply with quote
Report this post
Hi

All css modifications has to be placed in override.css file and override needs to be enabled in template settings.

I must have misunderstood. If You want to add a background to featured articles in featured layout than this code has to be used:

Code: Select all
.blog-featured {
background-color: #000000;
}
User avatar
Moderator

GK User
Mon Jan 05, 2015 5:53 pm
Reply with quote
Report this post
teitbite wrote:Hi

All css modifications has to be placed in override.css file and override needs to be enabled in template settings.

I must have misunderstood. If You want to add a background to featured articles in featured layout than this code has to be used:

Code: Select all
.blog-featured {
background-color: #000000;
}


Ok, so must I put the code above in override.css file?

Thanks,

Luca
User avatar
Senior Boarder

teitbite
Wed Jan 07, 2015 9:45 am
Reply with quote
Report this post
Hi

Just add it at the bottom of this file. This is the file prepared for oferrides only.
User avatar
Moderator


cron