edit links as displayed in -list files from set- block

Permalink
I would like to remove the underlining and change color of the files listed in my -list files from set- block only. I suppose I should use css for this in de 'edit design' option but I do not know how to.

Any help is much appreciated!
Eugene

 
mesuva replied on at Permalink Reply
mesuva
Hi Eugene,

I tend to prefer adding styling for a site via a theme's main css file, instead of using the design option, but if you are going to use that feature, you should be able to put in as custom css:
text-decoration: none;

But I'm pretty sure you aren't able to change the color of the file links using that, I think that might come down more to the link colour set for your theme.

If you can edit the stylesheet for your theme, you could add:
.fileset-list a {
text-decoration: none !important;
color: red !important;
}

Since there is a .fileset-list class on the output of the block, you should be able to target it for styling.
(the important statements might not be needed, it all depends on your theme)
mesuva replied on at Permalink Reply
mesuva
Whoops, didn't see the date on your message, I though this was something more recent. You might have resolved this already, but hey, here's an answer!
vankemenade replied on at Permalink Reply
vankemenade replied on at Permalink Reply
Dear Mesuva,
Thanks for your reaction. Indeed I got the thing solved by editing the main theme.

But I have another question. I recently updated to the latest version of concrete 5. And now the files are not showing anymore in the block for other users than admin. That is, to me as admin I can see it ok, but for registered users they can only see the 'block title', and not the files. Other bock types with the same permissions are well visible for registered users.

Would you know what I could do to make the files visible to registered users? Any help again greatly appreciated! Many thanks in advance, Eugène
mesuva replied on at Permalink Reply
mesuva
It's not something that I've come across yet, but it's also in a scenario I haven't had.

The block is just using the normal built in permissions functions to check for that, but that's not to say I'm using them 100% correctly.

Obviously I can suggest to clear your cache, but you've probably already done this.

As a temporary work around, you could override the view.php file for the block and remove the line that checks for permissions.
vankemenade replied on at Permalink Reply
Thanks for your answer. I have found the problem which had nothing to do with your great add-on. It was the permissions settings in dashboard, which I limited, but then users could no longer see stacks as well... When I changed the stack permissions under dashboard, it worked well.

Again thanks, Eugène
mesuva replied on at Permalink Reply
mesuva
Great to hear you've sorted it out. Thanks for letting me know.