Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

use new accordion class

01-22-2017, 11:21 AM
# 1 (permalink)
michy80
Hi,
in Eximium template there is this class:
.yjsgaccGroup {
display: block;
position: relative;
padding: 0;
margin: 0 0 3px 0;
border: 1px solid #ddd;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}


If in the custom.css file i create another class, for example
.yjsgaccGroup2 {
display: block;
position: relative;
padding: 0;
margin: 0 0 3px 0;
/* border: 1px solid #ddd; */
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 0px;
}

when i insert an accordion in my article I cannot use the second class.
Instead, if I inspect the page with mozilla and I rename the class (like shown in the attacched image), I obtain what i want.
My goal is to have some accordion with standard Eximium class and some other accordion with my new class.
How can I do this?
Thanks.

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: test installation

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Personal

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: test installation

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Personal
Attached Images
File Type: png Cattura.PNG (6.8 KB, 3 views)
01-23-2017, 09:05 AM
# 2 (permalink)
arefund
Hello michy80.
When you create your accordions you can add your custom ID to it.
http://prntscr.com/dz9gpe
After that you can use your id class and add it to the custom.css file, like this:

#myid .yjsgaccGroup{
your css
}
Kindness costs the least, but is worth the most!
01-24-2017, 08:04 AM
# 3 (permalink)
michy80
Hi Arefund,
and thanks for your answer. I tried to do what you wrote but it does not work (maybe i did some errors??).
In attachment what I did following your advices.
Waiting for your answer.
Thanks again
Attached Images
File Type: jpg Cattura.JPG (15.4 KB, 3 views)
File Type: jpg Cattura2.JPG (13.7 KB, 4 views)
File Type: jpg Cattura3.JPG (35.1 KB, 4 views)
01-30-2017, 07:34 AM
# 4 (permalink)
michy80
Hi Arefund,
have you got some news about y request?
Many thanks
01-30-2017, 08:05 AM
# 5 (permalink)
arefund
Can you please post your site link so I can check it live, might be that some other class is taking over the style.
Kindness costs the least, but is worth the most!
01-30-2017, 08:30 AM
# 6 (permalink)
michy80
Hi,
this is the page where i tried to do what you wrote to me.
The last accordion "My title" is where i need to insert another accordion class
PS: i've not bought the licence removal because the site is not completed yet.

Let me know, thanks
01-31-2017, 11:06 AM
# 7 (permalink)
arefund
As you can see here http://prntscr.com/e2qdpv i checked the class and its working properly.
When you add your css attributes and they are not working try to add !important to it.
Kindness costs the least, but is worth the most!
02-01-2017, 08:49 AM
# 8 (permalink)
michy80
Hi Arefund,
thank you for your answer. Adding !important to the css rule it works!
Thank you again!
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password