Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Not enough space in the toolbar above each post
Avatar
Hulk1977
Member
sp_UserOfflineSmall Offline
Oct 25, 2016 - 7:46 am

Hello,

I'm not sure if that's a "General" problem or a "Theme" problem, so please feel free to move my topic to the appropriate forum if it doesn't belong here.

This is what I get because I use the Stars instead of Thumbs Up/Down (I really like it to remain that way): hover.jpgImage Enlarger

As you can see the "Thanks" button and the "Flag" button are hovering because there's not enough space. Worse, when they hover this way, they are clickable only in Google Chrome but not in FireFox (confirmed by my users). I currently don't have the time to properly test it on other browsers.

For now, I fixed the problem by shortening "September" to "Sep" via Options -> Content settings, but on the other hand, I have stuff I don't need, like the "Print this post" icon. Is there an easy way to get rid of it? Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 25, 2016 - 10:55 am

The bottom line is always the column width that your WP theme allows for the content.... 

To change this - i.e.,remove bits you do not want etc., you need to edit one of the Simple:Press theme templates. That looks like you are using our Reboot theme so the template in question would be in the /templates folder of the theme at /desktop/spTopicViewDesktop.php.

At line 164 (on the most recent version) you will find the comment # Start the 'post' section -  and that specific opening section ends on line  195 with the section end function call.

Within those two lines of code are all of the possible items that may display in that post action bar. The print item - for example - is the function sp_PostIndexPrint().

Items that start with the if 'function_exists' call are all items from Simple:Press plugins. With luck, all of the template function tags used are relatively easy to understand from their name. Just comment out the ones you want to remove by putting a # symbol at the front of the line.

As always we recommend the use of a child theme to ensure changes are not lost when upgrading. There are now Child Theme Frameworks available to download for all of our themes to make this simple and full and extensive details can be found on our Codex - Creating a Child Theme page: https://simple-press.com/docum.....ild-theme/

Hope that helps you get started. Just in case you do not know you can make this edit using our theme editor option from your forum admin > themes section. Or - if you prefer a proper editor ensure it is in plain text mode.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Hulk1977
Member
sp_UserOfflineSmall Offline
Oct 26, 2016 - 4:42 am

Thanks a lot, that was quick and easy. Together with shortening the name of the month as I described above, this solves my problem.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 26, 2016 - 5:14 am

Excellent. Thanks for the update.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625