-
AuthorPosts
-
April 4, 2018 at 11:00 am #937069
Hi!
Can you please help me to change two things on the bulleted list?
I would like to reduce the size of the dots. Dots are too big.
And the space/line height between the bulleted list items should be less. Standard line height like normal/default text, please.
Thank you in advance!
April 4, 2018 at 12:23 pm #937100this is not possible in this way – but you can erase the list-style on that case and insert with pseudo class dots.
Great advantage of that method : you can have a different color and size than the font settings:give a custom class to your text-block where you have placed the list
f.e.: smaller-dots
see here: https://webers-testseite.de/listpoints/.smaller-dots ul { list-style: none outside; } .avia_textblock.smaller-dots ul { line-height: 1.4em; } .smaller-dots ul li::before { content: "\2022"; padding-right: 10px; color: red; }
by the way: if you like to have different “signs” in front of your list : http://unicode.e-workers.de/entities.php
the hexadezimal code is good for that
for bullet the code is :• with ;
content than iscontent: "\2022";
for » choose :content:"\00BB"
etcApril 4, 2018 at 12:38 pm #937106maybe you add :
.entry-content-wrapper .smaller-dots li { margin-left: 0; }
for less distance to the non list text
April 4, 2018 at 1:45 pm #937140Hi,
Thanks for helping out @guenni007. Did you try that out and did you have any luck with it @capuchin?
Best regards,
RikardApril 4, 2018 at 8:32 pm #937363Hi all!
Thank you for the input and quick response! This looks like a workaround that hides the large dot and starts every ‘li’ with a small dot, which means that the second line indentation is on the same spot as the dot which is visually not appealing.
Changes implemented on http://dev3.mimoa.co.za/team/
But I am still looking for a solution, smaller dots with same indentation on second line and line height control between bullets, please.
Kind regards
CapuchinApril 4, 2018 at 10:40 pm #937387Hi again!
Please view http://dev3.mimoa.co.za/team/ to understand better what I am after?
The first person has normal (big) dots
The second person has both dots
The third person has the small dots, but wrong padding from the left and indentation of the second lines is missing.
I would really like to achieve ul formatting of the first person – with smaller dots, please.
Kind regards
CapuchinApril 5, 2018 at 1:24 am #937409give a custom class to your text-block where you have placed the list
f.e.: smaller-dotsi do not see any custom css at all for the avia text block elements ? !
f.e. Josias van der Westhuize you have set the class for the ul – ok that will work too – but than you have to do the transform yourself –
on my code the avia-text block class is before ul
now you have ul.bothdot etc pp.
read carefully – thats all – I apologize because I formulate a little harshly now but I try to describe it as accurately as possible, but it will not be read exactly.April 5, 2018 at 6:19 am #937482so for Johann Müller you gave the class smalldot to ul try this
(but this you have to do now manually – if you gave the class to text-block alb element you can do that via Input field – described aboveyou can see here that i can simulate the results by clicking the screen-film: https://webers-testseite.de/listpoints/
(the code comes to quick css – but for the simulation i alway use in developer tools a nearly empty css file)ul.normaldot { list-style: none outside; } .avia_textblock ul.normaldot { line-height: 1.2em; } ul.normaldot li::before { content: "\2022"; padding-right: 5px; color: red; font-size: 18px !important; } .entry-content-wrapper .normaldot li { margin-left: 0; display: flex }
the “list-point” size goes than via font-size – the different color you can delete
April 5, 2018 at 6:54 am #937500if you like to have it for the whole page (team) and you have no other ul on it which should not be influenced by that code you can do it without custom class:
.page-id-29 .avia_textblock ul { list-style: none outside; } .page-id-29 .avia_textblock ul { line-height: 1.2em; } .page-id-29 .avia_textblock ul li::before { content: "\2022"; padding-right: 5px; font-size: 18px !important; } .page-id-29 .entry-content-wrapper .avia_textblock li { margin-left: -8px; display: flex }
April 5, 2018 at 9:25 am #937564by the way if you want to have only simple separators on text-blocks :
just use<hr>
it does not need a closing tagi see some open divs with no closing tags. – because of use the enfold hr and deleting some entries on edit ( the lines goes through some texts)
if you like to style it a bit see: https://css-tricks.com/examples/hrs/
you can click there on code to see the css for it
f.e.:
hr.style-two { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }
than use
<hr class="style-two">
in your text block (editor mode)April 5, 2018 at 11:19 am #937610Hi Guenni007!
Thank you for all your help. The bullet list works like a charm now!
I tried the <hr> but it has the same problem as the Enfold hr – there is still too much space between text and hr.
Do you have more ideas, please?Kind regards
CapuchinApril 5, 2018 at 11:21 am #937611the ‘manual’ <hr> is in the second column in light grey on http://dev3.mimoa.co.za/team/
April 5, 2018 at 1:11 pm #937700Hi capuchin,
Here is the code to reduce the bottom margin of the hr, you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
hr { margin: 10px 0 10px; }
If you need further assistance please let us know.
Best regards,
VictoriaApril 5, 2018 at 3:13 pm #937777ok ! but now you have to make all of the manual setted “points” in the page to unordered lists !
PPS :or
hr { margin: 10px 0 }
if there are 4 values it starts top right bottom left
if there are 3 values it is top (left/right) bottom
if there are 2 values it is (top/bottom) (left/right)
if there is 1 value ( all directions )
same shit different name ( and a few bytes less ;) )and as said before this is the only way to have different colors on list points.
there is no list-style-type-color at all ;)April 5, 2018 at 8:02 pm #937878Hi Victoria, hi Guenni
Your help is much appreciated!! CSS worked like a bomb.
Very happy with the result – going to implement it straight away.Kind regards from South Africa
CapuchinApril 6, 2018 at 7:33 am #938064 -
AuthorPosts
- You must be logged in to reply to this topic.