Initial with Bullet points on customizr
-
Original topic: https://wordpress.org/support/topic/initial-with-bullet-points?replies=2#post-6553508
Hello everyone,
I have a problem with the form of my Bullet point list. Indeed, the first letter is enormous, much like a initial.
The webpage I am encountering this issue is listed bellow.
http://dev.mediante.ch/?page_id=123Thanks
-
Hi,
thanks for reporting this. It’s an issue with the dropcap feature. So, for now, you can disable it.
Hope this helps.EDITED:
the suggestion I proposed, now deleted, don’t work.@thefrenchjuju
you can still use the dropcap feature, adding this to your child theme functions.php:add_filter('tc_dropcap_skip_selectors', 'skip_ul_ol'); function skip_ul_ol($skip_array){ $skip_array['tags'] = array_merge( $skip_array['tags'], array('UL', 'OL') ); return $skip_array; }Thank you for your answer.
I added the code. I am afraid it did not change anything.
Thanks again.
It didn’t change anything ’cause it’s not working. I mean that filter isn’t executed. And I know it ’cause I can see where it should do something, this:
/* <![CDATA[ */ var TCParams = {"FancyBoxState":"1","FancyBoxAutoscale":"1","SliderName":"","SliderDelay":"","SliderHover":"1","SmoothScroll":"linear","ReorderBlocks":"1","CenterSlides":"1","HasComments":"","LeftSidebarClass":".span3.left.tc-sidebar","RightSidebarClass":".span3.right.tc-sidebar","LoadModernizr":"1","stickyCustomOffset":"0","stickyHeader":"1","dropdowntoViewport":"","timerOnScrollAllBrowsers":"1","extLinksStyle":"","extLinksTargetExt":"","dropcapEnabled":"1","dropcapWhere":{"post":"","page":"1"},"dropcapMinWords":"50","skipSelectors":{"tags":["IMG","IFRAME","H1","H2","H3","H4","H5","H6","BLOCKQUOTE"],"classes":[],"id":[]}}; /* ]]> */should become this (this is from my test page):
/* <![CDATA[ */ var TCParams = {"FancyBoxState":"1","FancyBoxAutoscale":"1","SliderName":"pin","SliderDelay":"5000","SliderHover":"1","SmoothScroll":"linear","ReorderBlocks":"1","CenterSlides":"1","HasComments":"","LeftSidebarClass":".span3.left.tc-sidebar","RightSidebarClass":".span3.right.tc-sidebar","LoadModernizr":"1","stickyCustomOffset":"0","stickyHeader":"1","dropdowntoViewport":"","timerOnScrollAllBrowsers":"1","extLinksStyle":"","extLinksTargetExt":"","dropcapEnabled":"1","dropcapWhere":{"post":"","page":"1"},"dropcapMinWords":"50","skipSelectors":{"tags":["IMG","IFRAME","H1","H2","H3","H4","H5","H6","BLOCKQUOTE","UL","OL"],"classes":[],"id":[]}}; /* ]]> */Where did you place it?
Could you paste your child-theme functions.php?
(use backticks please)My functions.php is only constituted by the code you gave me. I created a Child theme and pasted it in.
add_filter('tc_dropcap_skip_selectors', 'skip_ul_ol'); function skip_ul_ol($skip_array){ $skip_array['tags'] = array_merge( $skip_array['tags'], array('UL', 'OL') ); return $skip_array; }Thanks a lot
Your child-theme functions.php shoudl start with
<?phpthen go on a new line and paste that code I give you.
that’s the problem πStill doesn’t work π
<?php add_filter('tc_dropcap_skip_selectors', 'skip_ul_ol'); function skip_ul_ol($skip_array){ $skip_array['tags'] = array_merge( $skip_array['tags'], array('UL', 'OL') ); return $skip_array; }That’s what I see in your page:
<?php add_filter('tc_dropcap_skip_selectors', 'skip_ul_ol'); function skip_ul_ol($skip_array){ $skip_array['tags'] = array_merge( $skip_array['tags'], array('UL', 'OL') ); return $skip_array; }<!DOCTYPE html>so something is going wrong in your child theme functions.php
WORKS! great! thanks a lot man.
But I still have the problem on this page:
http://dev.mediante.ch/?page_id=147The easiest way to get rid of that consists in putting a blank space after the “(” .
Thanks man !! You saved my day.
I owe you one.Glad you solved man! π
Sorry to bother you again…
I got the same trouble for:
http://dev.mediante.ch/?page_id=149
I did not see anything in the page sourcecode.
Thanks.
Which trouble? The big P?
Solved it with an Customizr update. Anyway. Thanks
The topic ‘Initial with Bullet points on customizr’ is closed to new replies.
