Closed GLLM closed 11 years ago
Or even a way to disable those everywhere.
I would appreciate a settings page in the front end for that though and not via configuration.ini
Why disturbs you the share buttons? They are at the bottom of the page and not very big!
@Weishaupt: yes a frontend for the settings would be a nice thing.
@ Tobias : because it uses screen estate on mobile devices, and if you don't use Twitter/FB/G+, it's wasted screen, or possible touch errors ! do you agree ?
The frontend settings is request #188 ;)
Huh? I only see the share buttons when I scroll to the bottom of an item in mobile view, I don't see how they're wasting screen space...
OK, if no one agrees, just leave it :)
I also think that this are unnecessary options. I also use this share buttons very rarely, but they don't disturb me on the bottom of the page.
This is one thing that could be solved very well using user style sheets (as offered in https://github.com/SSilence/selfoss/pull/110). Selfoss would attach some ids or classes to those buttons and those of use who do not want them could just "display: none" them using CSS
@monreal : true, even though an option is easier. unless a user.css overrides the normal css file. I've not dug uinto css customizations. Even if I'd really like to customize selfoss look.
@GLLM: to get rid of all share buttons you can now just add this to user.css: .entry-share { display: none; }
@monreal Oh, you've just got my attention with this user.css !!
I have been modifying the css file to get something looking better (more modern/cleaner) with the on-the-fly CSS editor of Firefox, but it's a pain to manage when updating the sources on my server.
How does this user.css work, where is it supposed to be, any limitations ?
Thanks a lot buddy :) GLLM
How does this user.css work It's just an additional CSS file to add to or change the defaults.
where is it supposed to be You create it in the root of your selfoss installation, next to the config files
any limitations ?
- it doesn't seem to like comments (/* .. */)
- you need to remove those two files you also remove during upgrades and clear browser cache or force-reload
OK, thank you very much @monreal ! Useful information :)
DO you know why all.css &all.js have to be removed ? Would be easier if it was not needed wouldn't it ?
GLLM
This two files are created by selfoss to only deliver one single js and css file to the user instead of several individual files. Internally selfoss checks if all.js/all.css exists. If not it will create them.
While your locally test your changes you could set DEBUG in the index.php to 1, 2 or 3, depending on how much information you want to get from selfoss. If DEBUG is not 0 selfoss will also recreate all.js and all.css. In a production environment you should always set DEBUG to 0 so don't forget to set it back.
Via settings, it could be great to able to hide the Google+/Twitter/FaceBook/... buttons for those who do not use them !
I wish I could help & code :S