Site logo

[Resolved] Shortcodes/ classes

Home Forums Support [Resolved] Shortcodes/ classes

Home Forums Support Shortcodes/ classes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2492032
    Rafał

    I can use simple css, but I’m having trouble naming individual classes – e.g. canvas, menu, etc
    For example, I mean something like this:

    .slideout-navigation.main-navigation .main-nav ul ul li a {
        font-size: 18px;
    }
    #2492043
    Ying
    Staff
    Customer Support

    Hi Rafal,

    Not sure what your question is.

    What can we help?

    #2493887
    Rafał

    I don’t know how to explain it exactly, but I mean class names referring to individual page elements.

    For example:
    .slideout-navigation.main-navigation .main-nav ul ul li a

    If I want to change the appearance of a menu or page element, I need the name of the class I want to edit. My question is where can I get the names of these classes

    #2493907
    Fernando
    Customer Support

    Hi Rafal,

    I see. You’re referring to the CSS selector.

    Though not sufficient, these articles may help:
    https://amasty.com/knowledge-base/product-labels-find-css-selector.html

    https://support.helpdocs.io/article/eh3pzxNwYf-grabbing-css-selectors-from-your-browser#:~:text=Simply%20right%20click%20and%20click%20Inspect%20Element.,CSS%20selectors%20for%20that%20element.

    There are also lots of tutorials on YouTube regarding getting the CSS Selector of an Element. Learning how to do this can be really powerful in terms of web development.

    #2495026
    Rafał

    This is exactly what i am looking for! Thank you very much for the tip on how i can learn it

    #2496728
    Fernando
    Customer Support

    You’re welcome, Rafal!

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