Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #553524

    Hi
    I added the default WP Tag cloud widget in the sidebar, but the theme doesn’t show a cloud, all tags are same size with a border around each tag. I would like to use the standard WP style,or “sort of”, ie showing tags in different sizes depending on number and removing the border. Can this be done by adding some CSS to the child theme?

    Tks!

    #553732

    Hey Flavio!

    Please go to Enfold/css/layout.css file and find

    .tagcloud a {
        font-size: 11px !important;
        padding: 2px 8px;
        margin: 0 1px 1px 0;
        display: block;
        float: left;
        border-style: solid;
        border-width: 1px;
        text-decoration: none;
    }

    and change it to

    .tagcloud a {
        padding: 2px 8px;
        margin: 0 1px 1px 0;
        display: block;
        float: left;
        border-style: solid;
        border-width: 1px;
        text-decoration: none;
    }

    Regards,
    Yigit

    #553819

    Thanks.

    Does this mean that it’s not possible to change the CSS from “Theme Options/ General settings/ Quick CSS”? The issue is that I have as a general rule not to make changes directly in any file.

    I assume not… if I understood correctly your answer, one has to wipe-out the size defined by Enfold, so that the variable size defined by WP can be applied… and in quick CSS one can override the settings set in the files, but not delete them, right?

    So, unless there is a solution using quick CSS, I will just drop the tag cloud (it’s not much needed anyway), and you can close the ticket :-)

    Cheers

    #553824

    Hi!

    Font size is applied to tag cloud elements using inline CSS by WordPress and to override it, font size is applied using !important by Enfold. You would need to at least remove !important from the code to have WordPress styles applied.

    Please feel free to request such changes here – https://kriesi.at/support/enfold-feature-requests/ :)

    I am marking this thread as resolved for now. If you have any other questions or issues, please feel free to start a new thread

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Styling TAG cloud’ is closed to new replies.