- This topic has 8 replies, 3 voices, and was last updated 7 years, 8 months ago by Mahesh.
-
AuthorPosts
-
November 30, 2015 at 9:17 am #80400EmoryParticipant
I was playing around with column sizes in the Editor (I know, not a good idea) and lost my notes as to the default pixel sizes for the wrapper, main column and one sidebar. Appreciate if you can let me know, and I’ll get them back to where they belong. Site is: https://www.digitalbodies.net The site is working fine but is a little jumpy on a mobile device here and there – probably because I messed something up!
Other question I had: is it critically important to makes sure all featured images are not larger than the 780 x 586 specified in the instructions?
Thanks in advance – Clean Journal Pro is a great theme!
November 30, 2015 at 11:16 am #80404MaheshKeymasterHi @Emory,
Clean Journal Pro theme has multiple layouts, and size for main column varies with respect to the layout option. In your context, you have main content, and a primary sidebar. For this layout, the default widths are as below:
main : 820px
sidebar : 340px
wrapper : 1200pxDefault width of wrapper is 1200px which remains the same for all layouts.
As you’ve mentioned, its not a good idea to directly change the code if you want to change some styles, you can always use the Custom CSS in “Appearance => Theme Options => Custom CSS” box or create child theme and add in your child theme
style.css
fileFor featured image, its not that critically important to stick with the image size 780 x 586, you can always use the images larger than this. But you need to make sure the image’s aspect ration is 4:3 because the image will be automatically cropped when uploading. So if the aspect ration mismatches, it may crop some portion of the image itself. If you use the small sized image then it will use the default uploaded image.
If you need any further help on CSS for the above, please let me know.
Thank you for your appreciation.
November 30, 2015 at 12:01 pm #80408EmoryParticipantThanks for your prompt response – the information is very helpful!
July 30, 2016 at 1:00 am #96267SusanParticipantMahesh, This is probably beyond the scope of this forum …
I don’t know CSS coding. I would like my primary sidebar to be narrower. Do you have a suggestion?
Thanks.
July 31, 2016 at 9:48 am #96313MaheshKeymaster@skstewart: Please post in your site URL so that I can help you further.
Regards,
MaheshJuly 31, 2016 at 3:35 pm #96332SusanParticipantMy site is http://www.practicalinspirations.com
Thanks, Mahesh
July 31, 2016 at 5:36 pm #96335MaheshKeymaster@skstewart: Go to Dashboard=> Apperance=> Customize=> Theme Optoins=> Custom CSS box and add the following CSS:
#main { width: 920px; } .sidebar-primary { width: 240px; } @media screen and (max-width: 1280px) { #main { width: 820px; } } @media screen and (max-width: 1152px) { #main { width: 810px; } .sidebar-primary { width: 200px; } } @media screen and (max-width: 1100px) { #main { width: 750px; } } @media screen and (max-width: 767px) { #main { width: 100%; } .sidebar-primary { width: 100%; } }
Regards,
MaheshAugust 21, 2016 at 4:55 pm #97717SusanParticipantThank you, Mahesh. I’ve tucked the code away in a file folder so I can use it for changes in the future.
August 22, 2016 at 9:42 am #97768MaheshKeymaster@skstewart: Thank you for your appreciation. Have a nice day!
Regards,
Mahesh -
AuthorPosts
- The topic ‘default sizes for main column and one sidebar’ is closed to new replies.