Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Stacked Theme - Underline hyperlinks?
Avatar
Donnie Schexnayder
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2012 - 8:15 am

I'm using the Stacked theme with the "shades of gray" overlay. It's perfect, except that the links aren't visible.

Is there any way to have hyperlinks underlined in the theme, or maybe show as a different color?

Thanks,

Donnie

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2012 - 9:09 am

probably bleed over from your wp theme... can you give us a link to your forum and a post with the issue so we can look?

Avatar
Donnie Schexnayder
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2012 - 10:19 am

Thanks!

I can't give you a link to the forum because it's private (protected behind Wishlist Member). Here's a screenshot of the problem, though:

http://screencast.com/t/u0E8zotW1wa

The funny thing is that if I load the Default theme, the links are underlined and look fine. Also, you can see in the screenshot that the link to the user profile is underlined. If it was bleed over from my WP theme (Optimize Press), wouldn't it affect all of the SP themes?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 21, 2012 - 2:31 pm

No - not necessarily. The reason we wanted to look at the page in question was so that we could use a tool like Firebug to inspect exactly what CSS is being applied. Only then can one really make a recommendation. But you can do this yourself with the Firebug extension for Firefox or Chrome or - with most up to date browsers, their built-in tools.

These tools will show exactly what styles are being used for each element and allows you to change them on the fly to see the effect. Can't do that with a screenshot.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2012 - 3:46 pm

The stacked theme uses the $alt5LinkDecoration from the overlay files. The default theme uses the $alt6LinkDecoration setting.The alt5 one is set at none and the alt6 one is set at underline.

You can change the stacked.php file to use the alt6 setting.

You would want to find

#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent a {
    overflow: hidden;
    text-decoration: <?php echo($alt5LinkDecoration); ?>;

in the Stacked.php file and change the 5 to a six.

Or if you wanted you could change the none to underline in the overlay.

Either way you will want to have a custom theme when you start making changes because they will be overwritten on any theme updates.

Might be able to get this changed in the supplied ones. Will bring it up with the team.

Avatar
Donnie Schexnayder
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2012 - 4:01 pm

Thanks, Brandon...that fixed it for the post links, but not for various other places on the forums. I'm guessing it would need to be changed to "$alt6LinkDecoration" throughout the stacked.php file, correct?

Any reason why this theme is using $alt5LinkDecoration and the others aren't?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2012 - 4:18 pm

we typically dont underline text links... but have made exception in the post content... unknown why the stacked theme was not consistent... but think we will get it so...

but if you want to make links elsewhere (buttons, etc) underlined, you will need to customize the theme... but that is the beauty of themes... what you want, you can do! ;)

please see: http://codex.simple-press.com/.....g-a-theme/

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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625