Can I change the default styling of the sharing buttons in the blog?

2 years 7 months ago #344
Topic Author
peterbrinck's Avatar
Posts: 14
Can I change the default styling of the sharing buttons in the blog?

Hi!

Is it possible to change the default styling and button placement, without changing the view in the plugin?

2 years 7 months ago #345
Eugene's Avatar
Posts: 430
Re: Can I change the default styling of the sharing buttons in the blog?

Hello Peter!
Please take a look at plugin settings. Here is the short video explaining the conception:



Is it what you asked about? :)

Regards,
Eugene.


Like our extensions and support?
Add your voice to the JED listing with a 100 score review:: bit.ly/2ciJBqC
Thanks!

2 years 7 months ago #346
Eugene's Avatar
Posts: 430
Re: Can I change the default styling of the sharing buttons in the blog?

Ops, the forum component converts letters in lowercase in the URL, as a result, a link on the video is incorrect on this forum :(
Please open PKB Social Share page and watch video there.


Like our extensions and support?
Add your voice to the JED listing with a 100 score review:: bit.ly/2ciJBqC
Thanks!

2 years 7 months ago #347
Dmitry's Avatar
Posts: 536
Re: Can I change the default styling of the sharing buttons in the blog?

As far as I know extension views can be overridden in themes. Try to create folder /themes/{your_theme}/views/social-share/, put buttons.php there and modify it.

At least default Pagekit themes do the same for Blog extension. See github.com/pagekit/theme-one/tree/master/views/blog

Dmitry


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

2 years 7 months ago #348
Topic Author
peterbrinck's Avatar
Posts: 14
Re: Can I change the default styling of the sharing buttons in the blog?

Eugene wrote:

Hello Peter!
Please take a look at plugin settings. Here is the short video explaining the conception:



Is it what you asked about? :)

Regards,
Eugene.


It wasn't that, it's the view I want to change :-)
I've played with the settings, but it's the complete layout etc. I want to change

Dmitry wrote:

As far as I know extension views can be overridden in themes. Try to create folder <em>/themes/{your_theme}/views/social-share/</em>, put <em>buttons.php</em> there and modify it.

At least default Pagekit themes do the same for Blog extension. See github.com/pagekit/theme-one/tree/master/views/blog

Dmitry


Yeah, I've tried it, it didn't work
Because I had the same thought, like with the blog views, but didn't work

2 years 7 months ago #349
Dmitry's Avatar
Posts: 536
Re: Can I change the default styling of the sharing buttons in the blog?

Well then you should modify core file. Really I do not know why overrides does not work. May be something special need to be done in extension itself, but I do not see anything related to overrides in Blog extension. I guess it's a question for Pagekit devs as I did not find anything about it in their docs :(


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

2 years 7 months ago #350
Topic Author
peterbrinck's Avatar
Posts: 14
Re: Can I change the default styling of the sharing buttons in the blog?

Hmmm..
I'll try it again, maybe I did something wrong

I'll let you know what the result is

EDIT:
Okay, so I'm not able to do it through my own theme
It has to be changed directly in the extension view...

2 years 7 months ago #351
Dmitry's Avatar
Posts: 536
Re: Can I change the default styling of the sharing buttons in the blog?

That's something I will try to find out in Gitter chat. May be someone knows how to properly make overrides.


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

2 years 6 months ago #358
Topic Author
peterbrinck's Avatar
Posts: 14
Re: Can I change the default styling of the sharing buttons in the blog?

Yeah, that would be sweet!
Thanks :)

2 years 6 months ago #367
Dmitry's Avatar
Posts: 536
Re: Can I change the default styling of the sharing buttons in the blog?

Well I tried to ask several times, but now answer :(


Like our extensions and support?
Add your voice to the JED listing with a 100-score review: bit.ly/2ciJBqC
Thanks!

You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+2). but not limited. Our staff will be pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days. In case of free extensions we do the best to develop and maintain them either, but their support is not necessary.

Product Latest Update