Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #990173

    hello, I have the problem that on a page in a box my own css class for an numeration (ul class = “list”) does not work. I get double bullets, so once the bullets default and my own blue squares. On the other hand, the class assignment only works on one side in the “Icon list” item.

    Problem is on this site right by register and get started:
    Example

    What can this be?

    Greeting
    Holger

    • This topic was modified 6 years, 5 months ago by aB-Agenta.
    #990544

    Hey Holger,

    This CSS is applying the blue dots:

    ul.liste li:before {
        position: absolute;
        left: 0.7em !important;
        margin: -2px !important;
    }

    I’m not sure how you want to change it though?

    Best regards,
    Rikard

    #990555

    hey Rikard, the standard gray bullets as dots should be completely gone and only the blue square should appear on the left. currently both are visible and the blue is in the middle of the text.

    Best regards, Holger

    #990598

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    ul.liste li {
        list-style: none!important;
    }
    ul.liste li:before {
        position: absolute;
        left: -15px !important;
        margin: -2px !important;
    }
    
    

    and delete following code

    ul.liste li:before {
        position: absolute;
        left: 0.7em !important;
        margin: -2px !important;
    }

    Best regards,
    Yigit

    #990618

    Hi Yigit, that does not work. The blue square is still in the text and not to the left. Even if I left the value: öndere it does not work.
    If I also delete the class in the Enfold Child then my other css list formatting on the page does not work anymore.
    Best regards, Holger

    #990695

    Hi,

    Could you please create temporary admin logins and post them here privately so we can look into it? It seems like a CSS conflict is causing the issue.

    Best regards,
    Yigit

    #991442

    Here are the login:

    #991909

    Hi,

    Thanks for the info.

    We removed the previous css codes and then leave these ones on the Quick CSS field.

    ul.liste li {
        list-style: none!important;
    }
    
    ul.liste li:before {
        content: '■';
        position: absolute;
        left: -15px !important;
        margin: -2px !important;
       right: auto !important;
       color: #4d83b8;
    }

    Best regards,
    Ismael

    #991915

    Hi,
    it works, thanks!

    Best regards, Holger

    #991964

    Hi, the problem is solved, but now we have a new problem. The other bullets on the other pages are now too far away from the text.
    See here: https://artbase-software.de/maklersoftware/
    Best regards, Holger

    #992195

    Hi Holger,

    Please try this CSS as well:

    .entry-content-wrapper li {
        margin-left: 0 !important;
    }

    Best regards,
    Rikard

    #992237

    Hi, that only partially worked. The distance between the bullet points and the text has changed, but it’s still too big. The points need to get even closer to the text. In addition, the bullet points with the whole text must be moved even further to the right. See the example in the attachment.

    example

    Best regards, Holger

    #992428

    Hi Holger,

    Then you will have to edit the ::before CSS, this what is currently applying:

    ul.liste li::before {
        left: -15px !important;
        right: auto !important;
        margin: -2px !important;
    }

    Best regards,
    Rikard

    #992430

    Hi,

    Or something like this:

    ul.liste li {
        margin-left: -10px !important;
    }

    Best regards,
    Rikard

    #992924

    Hi, I can not keep up with the bullets. I have declared different bullets on 3 different pages.

    Formatted on this page with class = “list-symbol”:

    On these pages I use class = “list”:

    The problem is on the Accordeon page:

    There, the bullet is not displayed correctly. Why are the list items displayed differently on the pages even though I use the same class?

    How should I define the class for it to work?

    Best regards, Holger

    #994302

    Hi aB-Agenta,

    I think it ie better to have a span with the class in the li with the content that you have for ::before, that way it will be easier to adjust the text position in the li element.

    Best regards,
    Victoria

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