Need some help about how block area are affected by css
Permalink
Hi,
More than a problem is a cosmetic bug,
I recently try to convert an html theme , all ok but as you can see in the image attached the area regarding the "addblock" is relly small,
i suppose it must be something related to the css but I cant figure how for now, any idea?
More than a problem is a cosmetic bug,
I recently try to convert an html theme , all ok but as you can see in the image attached the area regarding the "addblock" is relly small,
i suppose it must be something related to the css but I cant figure how for now, any idea?
Take a look at the CSS files from the default theme that comes with C5, try copying the css under sections
/* error text class optionally provided by theme */
/* MISC STYLES & SHORTCUTS */
/* Page Elements */
into your themes CSS file. Also a good idea to copy over typogrophy.css as well and make any adjustments to it that effects your theme.
When I start a new theme I usually use the default theme as a starting point, make the adjustments I need to it and drop out anything I don't need when I am done. Then your CSS looks similar to the way it is formatted in the default theme.
/* error text class optionally provided by theme */
/* MISC STYLES & SHORTCUTS */
/* Page Elements */
into your themes CSS file. Also a good idea to copy over typogrophy.css as well and make any adjustments to it that effects your theme.
When I start a new theme I usually use the default theme as a starting point, make the adjustments I need to it and drop out anything I don't need when I am done. Then your CSS looks similar to the way it is formatted in the default theme.
Thanks a lot guys !
I will try to follow your advices,
if the theme will look good enough for the marketplace I will release as free theme for C5.
I will try to follow your advices,
if the theme will look good enough for the marketplace I will release as free theme for C5.
In the Elements inspector, you should be able to drill down and find the right element and then maybe work out from the right hand side what styles are being applied to it.