elements randomly being inserted into FAQ toggles
-
I started to notice inconsistencies in how much white space was around FAQ lists from page to page. Category grouping is off and FAQs are being added to toggles in Jupiter Theme skinned to appear as UFAQ Categories. It appears as though javascript for the controls is inserted into the <p> tags when needed, however because the tags don’t have a css class defined, they are difficult to negate without impacting the rest of the site.
—————– https://supportdev.ccsd.net/hardware-support/———-
———-Hardware Problems Tab—————–
On the First Page: I was able to negate the <P> tag with CSS. The FAQS are:[mk_toggle title="Computer(Desktop & Laptop)" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='computer-problems'?exclude_category='otherhwts'][/mk_toggle][mk_toggle title="Apple(Desktop & Laptop)" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='apple-computers'?exclude_category='otherhwts'][/mk_toggle][mk_toggle title="Network Connectivity" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='connectivity-problems,network,wifi'?exclude_category='otherhwts'][/mk_toggle][mk_toggle title="Mobile Devices" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='mobile-device-problems' exclude_category='otherhwts'][/mk_toggle][mk_toggle title="Printers" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='printer-problems'][/mk_toggle][mk_toggle title="Other Classroom Hardware" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='other-problems' exclude_category='otherhwts'][/mk_toggle][mk_toggle title="Telephones" el_class="custom_toggle_ufaq"][ultimate-faqs include_category='telecom'?exclude_category='otherhwts' ][/mk_toggle]'
The FAQs render as:
<p> Javascript for accordion , scroll, and reveal</p>
<div> BorderBlock
<div> FAQ title
post margin link
<div> Icon</div>
<div> title text <h6> title </h6></div>
<div class=”ewd-ufaq-clear”></div>
<p> EMPTY ELEMENT with full line height </p>
</div></div></div>I have been able to set the margins for these with :
.ewd-ufaq-post-margin >p { margin:0!important; }
—————– https://supportdev.ccsd.net/resources-information/———-
On the Second page (where it is inconsistent line height H6 but control is 72px):[mk_toggle el_class="custom_toggle_ufaq" title="General Support Information"][ultimate-faqs include_category='resources-info'][/mk_toggle] [mk_toggle el_class="custom_toggle_ufaq" title="Other Support Information"][ultimate-faqs include_category='otherhwts'][/mk_toggle]
The FAQs render as:
<p> Javascript for accordion , scroll, and reveal</p>
<div> BorderBlock
<div> FAQ title
post margin
<p> EMPTY ELEMENT with full line height </p>
<div> Icon</div>
<div> title text <h6> title </h6></div>
<div class=”ewd-ufaq-clear”></div>
<p> post margin Link </p> <—Second link not in the first FAQ
</div>
<div> hidden FAQ answer</div>
</div>In the second one, there is an additional <p> element with a link that is not present in the first. Chrome shows the code as 0px height, but it renders with height.
.ufaq-faq-title >p >a .ufaq-faq-toggle > p >a { margin:0!important; }
does not eliminate the extra spacing, however.
In this last one, the overall border box is 72px high, the post margin height is 48px, the actual title is 28px and the p tag has a 20px margin someplace.
- The topic ‘elements randomly being inserted into FAQ toggles’ is closed to new replies.