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

Font Customization #1622

Closed
deva96 opened this issue Jan 22, 2019 · 6 comments
Closed

Font Customization #1622

deva96 opened this issue Jan 22, 2019 · 6 comments
Labels
question Further information is requested. Stack Overflow candidate

Comments

@deva96
Copy link

deva96 commented Jan 22, 2019

I am using web chat v4,I have created one dropdown there user can select font size/font weight for his/her convinence. I can't achieve two things.

  • Cant change font size/font weight/font family for adaptive card/hero card/other attachments
  • Cant change font family

I am currently using jquery to perform button click change using id "webchat".Code is below

function font_size() {
    var e = document.getElementById("sizeselect");
    var value = e.options[e.selectedIndex].value;
    document.getElementById("webchat").style.fontSize = value;
}

similarly for font-weight,Help me achieve the two thing i mentioned

(Edited by @compulim for formatting)

@corinagum corinagum added the Duplicate This issue or pull request already exists label Jan 22, 2019
@corinagum
Copy link
Contributor

Hi @deva96, This is already a planned-for feature for Web Chat! Please track this issue on #1553.
I will close this issue as a dupe. If you have anything you'd like to add to the issue, please feel free to leave a comment over there.

@deva96
Copy link
Author

deva96 commented Jan 23, 2019

@corinagum hey ,the issue you mentioned is only for changing the font styles by developer.But i want to give the font customization ability to the user/customer.I have already able to give it to customer but i can't able to change font-family and font-styles for card response alone.For that i am asking suggestion/way

@corinagum corinagum reopened this Jan 23, 2019
@corinagum corinagum added question Further information is requested. Stack Overflow candidate Pending and removed Duplicate This issue or pull request already exists labels Jan 23, 2019
@compulim
Copy link
Contributor

@deva96 are you talking about setting the font only for the card, but not the whole Web Chat?

For instance, are you talking about changing the font of the yellow part, without changing the font of green part?

image

@ljubomirsinadinovski
Copy link

ljubomirsinadinovski commented Jan 29, 2019

@corinagum
Copy link
Contributor

Closing - stale.

@compulim
Copy link
Contributor

#1670 might be fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested. Stack Overflow candidate
Projects
None yet
Development

No branches or pull requests

4 participants