Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make smiles list bigger #202

Open
nikosuk opened this issue Jan 17, 2021 · 5 comments
Open

How to make smiles list bigger #202

nikosuk opened this issue Jan 17, 2021 · 5 comments

Comments

@nikosuk
Copy link

nikosuk commented Jan 17, 2021

Hello,
first of all i d like to thank you for your great work.

I am not sure where to ask this, i hope is the right place.
i am using wysibb in my website, and i have enabled smiles.

My problem is that i would like the icons in the list ( and the box) to appear larger .
Maybe twice in size. Right now they are too small to see.

Capture

What should i do to make them bigger ?

Thank you in advance for your answer ..

@basteyy
Copy link

basteyy commented Feb 12, 2021

Hey!
See this line

$('<span>').addClass("smile").appendTo($sblock).append($(this.strf(sm.img,this.options)).attr("title",sm.title));

There is the html generated. You can trying to add the size there. Otherweise use css like:

span.smile img {
width: 128px !important;
height: auto !important;
}

@nikosuk
Copy link
Author

nikosuk commented Feb 12, 2021

Hello,
thanks for your answer. i managed to resize icons using css.
but the smilebox needs to be bigger as well to fit the bigger icons.
How do i make the box bigger as the icons get bigger ??
Thanks one more time !

@basteyy
Copy link

basteyy commented Feb 13, 2021

See line 1185 in the javascript. There is the html wrapping element. You need to add a class there to get grid on that via css or you use javascript to add a class via querySelector. I'm only at my cellphone, so I cannot give you more details for now. Try it by yourself or wait until next week 😅

@nikosuk
Copy link
Author

nikosuk commented Mar 18, 2021

@basteyy Could you please elaborate ?

@dchubad
Copy link

dchubad commented Aug 28, 2022

I am not sure where to ask this, i hope is the right place.
i am using wysibb in my website, and i have enabled smiles.

How did you get the smileys enabled? I been trying for ages with no luck. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants