Home Forums
05 | 20 | 2013
We have 354 guests and 22 members online
JoomlaNook Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Indenting Nested slides
(0 viewing) 
Go to bottom
TOPIC: Indenting Nested slides
#6619
clickshe
Posts: 13
User Offline Click here to see the profile of this user
Indenting Nested slides 11 Months, 2 Weeks ago  
Hello,
how to indent only the Nested slides (Header and content) ?
I have seen that the nested slides are already indented and aligned to the content of the items,
but for the nested slides the indentation is little and not too noticeable; I think that would be better if is possible add more indentation but only to the nested slides and them contents.

I tried to add padding in the accordionfaq.css at line 218
Code:


.accordionfaq div.accordionfaqitem
{
margin:5px 0px;
padding: 0px 60px 0px 60px;
position: relative;
zoom: 1;
}


but the result is not good because the content of the nested slides is still much more indented; furthermore if I have a table with fixed, dimensions it is not well displayed because it goes out of the border of the module.

Thank you for patience
Regards
 
Logged Logged
 
Last Edit: 2012/06/03 09:49 By clickshe.
  The administrator has disabled public write access.
#6621
klowther
Admin
Posts: 2960
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:Indenting Nested slides 11 Months, 2 Weeks ago  
Hi,

Here is what I used to indent an entire nested faq. The faqid of the nested faq was accordion3:

Code:

#accordion3
{
padding-left: 30px;
width: 95%;
}



The width statement was necessary prevent the nested faq's content from being truncated on the right.

- Ken
 
Logged Logged
 
Last Edit: 2012/06/04 06:31 By klowther.
  The administrator has disabled public write access.
#6622
clickshe
Posts: 13
User Offline Click here to see the profile of this user
Re:Indenting Nested slides 11 Months, 2 Weeks ago  
Hi ken,
thank you for reply.

You have always a solution !

It works exactly as I would like to, but I'm not sure where and how to use correctly this code:
I pasted in accordionfaq.css (renaming the faqid with my nested faqid)...
but I don't understand if this is correct because doing that will means that
I must add to the CSS this code for any different nested faqid and specifying
the exact faqid for all nested faq of my website?

thanks for all
 
Logged Logged
  The administrator has disabled public write access.
#6624
klowther
Admin
Posts: 2960
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:Indenting Nested slides 11 Months, 2 Weeks ago  
Hi,

Here is a slightly different way. Add the something like the following to your accordionfaq.css:

Code:

.nested
{
padding-left: 30px;
width: 95%;
}



Then in any nested faq you can add the class nested to the faqclass= parameter of the accordionfaq expression, like this:

{accordionfaq faqid=xxxx faqclass="lightnessfaq headerbackground headerborder contentbackground contentborder round5 nested" warning=n}

Notice the warning=n parameter. Accordionfaq checks the parameters for known values. If it finds an unknown value, nested in this case, it will place a warning on your page. The warning=n parameter disables that check.

- Ken
 
Logged Logged
  The administrator has disabled public write access.
#6625
clickshe
Posts: 13
User Offline Click here to see the profile of this user
Re:Indenting Nested slides 11 Months, 2 Weeks ago  
Hi Ken,
thank you again.
This last solution is certainly more practical and more standardized.

Now I think that AccordionFAQ is really complete !

Only the "open all" and "close all" command are missing

Sincere thanks
 
Logged Logged
  The administrator has disabled public write access.
Go to top