• H[Moderator note: Topic title de-capped. Please do not shout at us.]

    i guys..
    I need to modify in the following code where it is wrote: STYLE=”MAX-WIDTH:111PX”

    <a class="ngg-album-desc" title="GAL RIOLLS" href="https://www.sugar7.eu/merceriamostoles/index.php/nggallery/alb-riolls/gal-riolls?page_id=159" style="max-width: 111px">
                        GAL RIOLLS                </a>

    element.style {max-width: 111px;}

    How you all can see, the width of the tag a , is overridden by element.style.
    So I search all of my CSS files and I can’t find element.style anywhere. Could you please help me??
    How I can get rid of this element.style thing?

    Thank you people in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi JLGP7,

    I recently just had the exact same issue. In order to style “element.style” I had to do some digging. My issue was with a div element, but this is the code I would have used for your situation in my child theme to override the CSS from my parent theme.

    .ngg-album-desc > a {max-width: 111px;}

    *Note: I was styling an id not a class

    Let me know if it works for you.

    – Cheers!

    .ngg-album-desc {max-width: what u want it to be !important;}

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Element.style . i cannot how to delete it or modify’ is closed to new replies.