List-Type Square depends not only on the content but also on the menu

Hi,

I have entered the following in the CSS on the website http://pixelway.de/projekt-dres-harth/team/:

ul li {color: # 0f56a4;}

ul {list-style-type: square; margin: 20px; padding: 10px;}

My problem is that the list type Square is also at the top of the menu, how do I get that removed?


Thanks

Comments

  • Hi, sorry, behind the url there was a ":",

    I have entered the following in the CSS on the website http://pixelway.de/projekt-dres-harth/team/

    ul li {color: # 0f56a4;}

    ul {list-style-type: square; margin: 20px; padding: 10px;}

    My problem is that the list type Square is also at the top of the menu, how do I get that removed?


    Thanks

  • Hello,

    You can put this code as inline CSS for the <ul> tag.

    But if you want to do this, you were thinking at the beginning, and then you need to create a new class and add it in Custom | Classes.

    Thanks

  • Hello,

    I entered it as you suggested. There are currently no list-style-type square displayed, but circle

    and the name Dr. med. dent. Uwe Harth, Dentist is not displayed on the iPhone. Where is the mistake?


    Thanks

  • 1) You have put the name of the class in Custom | Styles input, not Custom | Classes. After I have added it manually, the list changed.

    2) I also noticed that you have two sections with responsive visibility, and you should add this class to the item in a mobile section as well.


    Thanks

  • sorry, but i don't understand, i have entered the class "customList" in the <ul>.

    Thanks

  • If you want to use Custom class, then it should look like this:

    1) Create a list with HTML tags

    2) Scroll down to Custom | Classes input and put the name of this class there

    3) And in Custom CSS & JS -> CSS, put your CSS code for this class

    This way is useful if you want to have a couple of lists with such styling because you will need to put only the class name in the input for classes.


    But, if you have only one list with such styling, you can use inline CSS and forget about the classes.

    I hope it is clear for you now. ?

    But if you will still have any questions about it, please, let me know.


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.