{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2301","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2301/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2301/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2301/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2301","id":68323077,"node_id":"MDU6SXNzdWU2ODMyMzA3Nw==","number":2301,"title":"Page with bootstrap 3 classes not converted to pdf as is.","user":{"login":"prasadsurase","id":562052,"node_id":"MDQ6VXNlcjU2MjA1Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/562052?v=4","gravatar_id":"","url":"https://api.github.com/users/prasadsurase","html_url":"https://github.com/prasadsurase","followers_url":"https://api.github.com/users/prasadsurase/followers","following_url":"https://api.github.com/users/prasadsurase/following{/other_user}","gists_url":"https://api.github.com/users/prasadsurase/gists{/gist_id}","starred_url":"https://api.github.com/users/prasadsurase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasadsurase/subscriptions","organizations_url":"https://api.github.com/users/prasadsurase/orgs","repos_url":"https://api.github.com/users/prasadsurase/repos","events_url":"https://api.github.com/users/prasadsurase/events{/privacy}","received_events_url":"https://api.github.com/users/prasadsurase/received_events","type":"User","site_admin":false},"labels":[{"id":196011882,"node_id":"MDU6TGFiZWwxOTYwMTE4ODI=","url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/labels/NeedToVerify","name":"NeedToVerify","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2015-04-14T09:55:14Z","updated_at":"2018-06-13T13:15:04Z","closed_at":null,"author_association":"NONE","body":"  I am using wkhtmltopdf(0.12.2.1) with wicked_pdf(0.11.0) with bootstrap(3.3.2) in a rails project. I have 2 css files: bootstrap.css and custom.css. bootstrap.css is the default css file provided by bootstrap with no changed. custom.css is has some custom changes. \n\n  When I try to convert an html page(both files are included in the page) to pdf, it doesn't convert the page as is. ie the bootstrap styles are not applied but the styles from custom.css are. The Stack Overflow answer [here](http://stackoverflow.com/questions/19705880/converting-twitter-bootstrap-page-into-pdf-with-wkhtmltopdf-span-issue) specifies that the css inside the 'media' block arent supported. So, I had to specify 'col-xs-N' class explicitly to all the divs that weren't accepting the BS styles and it worked.\n\nIt might be some other mistake from my side but the changes specified in the answer did work for me. Hence, I wanted to know if wkhtmltopdf supports Bootstrap 3?\n"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/396932697","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2301#issuecomment-396932697","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2301","id":396932697,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkzMjY5Nw==","user":{"login":"HSPDev","id":3866757,"node_id":"MDQ6VXNlcjM4NjY3NTc=","avatar_url":"https://avatars2.githubusercontent.com/u/3866757?v=4","gravatar_id":"","url":"https://api.github.com/users/HSPDev","html_url":"https://github.com/HSPDev","followers_url":"https://api.github.com/users/HSPDev/followers","following_url":"https://api.github.com/users/HSPDev/following{/other_user}","gists_url":"https://api.github.com/users/HSPDev/gists{/gist_id}","starred_url":"https://api.github.com/users/HSPDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HSPDev/subscriptions","organizations_url":"https://api.github.com/users/HSPDev/orgs","repos_url":"https://api.github.com/users/HSPDev/repos","events_url":"https://api.github.com/users/HSPDev/events{/privacy}","received_events_url":"https://api.github.com/users/HSPDev/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T13:15:04Z","updated_at":"2018-06-13T13:15:04Z","author_association":"NONE","body":"@macaba you..... Saved my life!!!!! \r\n\r\nBootstrap columns only showed the first column with 0.12.5 no matter the width - I thought it was not showing the fonts correctly, but turned out we had a \"col-xs-1\" with some hidden (on print) material in front of the content column, and that gave the illusion of the text being gone. Your tip with the viewport fixed everything... \r\n"}}
{"actor":{"display_login":"HSPDev"}}