buttontext

Permalink Browser Info Environment
Is the buttontext required? It seems to show up as buttontext when the field is blank

1 Attachment

Type: Discussion
Status: On Hold
View Replies:
jero replied on at Permalink Reply
jero
The button is a styled anchor <a> tag which gets assigned a css class of cycle-link-hidden which sets the display to none. This hides the button from view if either there is no link or no button text.

Most probably you have some other css rules that are taking priority over the rule set in view.css.

The actual html output would be:

<a class="btn btn-default cycle-link-hidden" href="http://www.foo.com">buttontext</a>


so it follows that you must have a definition of btn or btn-default which sets display:block or display:inline overriding the cycle-link-hidden display:none.

I have added !important to cycle-link-hidden which may fix the issue. Please update to version 1.0.0

concrete5 Environment Information

5.7

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

Click below to request a refund for License #7916911. Assigned to Central Mountain Air.
Created on Apr 29 2016 at 2:34 pm
.