I tried to update the version 7.x-2.1 and, the view interface work very well.
However, when I would like to use the sidebar block, sidebar block appear under the page like footer.
I checked the Fontfolio demosite, the demosite node is happened the same thing.
http://fontfolio.ish.co.il/node/28
I checked the 7.x-2.1 Note, and watched bellow, is this problem happen because of this reason? or other reason?
5, CSS class to make the main content section expand if no blocks are assigned to sidebar.
I would like to know how to put the sidebar block on the right place for using this theme 7.x-2.1.
Best regards.
Comments
Comment #1
israelshmueli CreditAttribution: israelshmueli commentedFixed, in dev and 7.x-2.2
In 7.x-2.1 I'v started using core's 'no-sidebars' CSS body class to stretch the content area to full page width when no sidebar exist. Unfortunately, this class appears even if fontfolio's sidebar is not empty. It happens because fontfolio's single sidebar named "sidebar" instead "sidebar-first". I fixed it via fontfolio_preprocess_html function that now remove or add 'no-sidebars' class considering the actual existing sidebar.
Comment #2
nobuyuki3 CreditAttribution: nobuyuki3 commentedThank you very much for your improvement of FontFolio Theme.
The block show collectedly, and the theme also works fine.
Thanks!
Comment #3
guitarma CreditAttribution: guitarma commentedDoes this mean we need to update the entire theme - and lose any customizations - or can we just write over some files?
Comment #4
israelshmueli CreditAttribution: israelshmueli commentedWhat version did you customized?
What files have been modified?
The change between between 7.x-2.1 and 7.x-2.2 is slight modification in template.php file.
If you want to enjoy new features and theme updates without loosing your modifications you should create new custom named css file/files to host your style modifications.
If you need to modify more than css files (template.php functions, template files, etc. ) you better create your own custom fontfolio subtheme.
Do you think you can still move your modifications into seperate files or it is too late?
Comment #5
guitarma CreditAttribution: guitarma commentedI just updated it and uploaded the modified css files, and it looks good. It helped that you said which file(s) had the modification in the updated version.
thanks!
UPDATE *** I take that back, even without a sidebar, I still have the space on the right. It is not taking the text all the way to the right.
UPDATE 2 *** - Fixed! I found the line in the css that was missing:
.no-sidebars #single_left {
width: 100%;
}
Thank you!