Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

SPPB 3 Image Content Ever-Present-Button Bug

Featured Lock Resolved Bug
The Image Content Addon has a bug. When the 'Button Text' field is left empty the button settings fields collapse. However, the button on the resulting page is still created. See the attached image to see the issue.

The solution is simple. Replace line 43 of com_sppagebuilder/addons/image_content/site.php.

Original

$button_output = '<a' . $button_attribs . ' id="btn-'. $this->addon->id .'" class="sppb-btn' . $button_classes . '">' . $button_text . '</a>';


New

if (!empty($button_text)){
$button_output = '<a' . $button_attribs . ' id="btn-'. $this->addon->id .'" class="sppb-btn' . $button_classes . '">' . $button_text . '</a>';
}


If you could change this before the next release that would be awesome!

Of course, if you don't like my method feel free to use your own.

Attachments (1)

  • image_content_button_bug.PNG
    image_content_button_bug.PNG 602.1 KB

2 Answers

paul

5 days ago #Permalink
@daniel Are you seeing this support page with your post being stretched full width and under the staff list module ? ( in FF )

Attachments (1)

  • JS_supportpage_displayerror.jpg
    JS_supportpage_displayerror.jpg 163.3 KB

Daniel

5 days ago #Permalink
@daniel Are you seeing this support page with your post being stretched full width and under the staff list module ? ( in FF )


Yes. I am. This is not uncommon on the JoomShaper site.

If I managed the site I would set the <pre> html tag css to include:

#ed pre {
overflow: scroll;
max-width: 708px;
}


That should fix it :)


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 143
Toufiq

Toufiq

Total Accepted Answers: 51
Shibbir

Shibbir

Total Accepted Answers: 28
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 4
Rodrigo Corbata

Rodrigo Corbata

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam