Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

News image border and rounded corners

  • ians
  • ians's Avatar Topic Author
  • New Member
  • New Member
More
IP: 82.6.252.181 14 years 4 days ago #1260 by ians
Hi there,

Just installed latest news enhanced and looks to do pretty much what I want. If possible, I would like to have no border round the thumbnail and rounded corners. I saw a previous thread which suggested the following CSS code for removing the borders and I've tried this in firebug.

However i can't see where to edit the CSS for the extension.

Probably really basic -sorry, but a point in the right direction would be appreciated,

Yours,

ian
More
IP: 207.229.131.129 14 years 4 days ago #1263 by admin
Hello Ian,
you should actually leave module stylesheets alone (in general, not only with my extensions) so that when you update them, your work is not overwritten and lost. In my case, I actually use a separate stylesheet that I load in my template that overrides all extensions installed, when they need tweaking.
So I would suggest you add the CSS code to your template, either in its own stylesheet or, better, in a separate one that you load from your template.

Olivier.
More
IP: 217.133.210.66 14 years 1 day ago #1282 by mavel
Thanks, but how do I override the style of your extension?
More
IP: 207.229.131.129 14 years 1 day ago #1287 by admin
You have to look through the source code of your html page to find what element class you want to override. A great tool for that is Firebug (works wonders in Firefox).

Then add the code to your template's CSS, something like:
Code:
.news .picture { border: none !important; padding: 0 !important; }

That will override the module's CSS (note that the !important property assures that your style has priority).

Olivier.
The following user(s) said Thank You: mavel, muzzafar