Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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!

    #937100

    this 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 : &#x2022 with ; content than is content: "\2022";
    for » choose : content:"\00BB" etc

    #937106

    maybe you add :

    .entry-content-wrapper .smaller-dots li {
        margin-left: 0;
    }

    for less distance to the non list text

    #937140

    Hi,

    Thanks for helping out @guenni007. Did you try that out and did you have any luck with it @capuchin?

    Best regards,
    Rikard

    #937363

    Hi 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
    Capuchin

    #937387

    Hi 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
    Capuchin

    #937409

    give a custom class to your text-block where you have placed the list
    f.e.: smaller-dots

    i 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.

    click to enlarge and see the difference:

    #937482

    so 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 above

    you 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

    #937500

    if 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
    }
    #937564

    by the way if you want to have only simple separators on text-blocks :
    just use <hr> it does not need a closing tag

    i 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)

    #937610

    Hi 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
    Capuchin

    #937611

    @Guenni007

    the ‘manual’ <hr> is in the second column in light grey on http://dev3.mimoa.co.za/team/

    #937700

    Hi 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,
    Victoria

    #937777

    ok ! 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 ;)

    #937878

    Hi 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
    Capuchin

    #938064

    Hi,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.