Solution for Hamburger getting outside of mobile width due to ckeditor form . What to do?
is Given Below:
I am new to django. I am trying to build blog website.
On laptop create new post is perfectly visible like below.
On laptop create new post
But when i view it with mobile view hamburger got extended outside the mobile width
no hamburger visible at first view
hamburger visible after dragging page towards right
i figured out this is due to ckeditor form which i have used for writing ‘Text’ in form. I don’t know what should i do as i tried to set margin but it is only affecting other form fields not the ‘Text’ one.
Note:hamburger visible on other pages of website
Try this one in your settings.py
file:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'full',
'height': 300,
'width': '100%',
'contentsCss': 'img {max-width: 100%;height: auto! important;}',
},
}