Recent Topics

1 Oct 13, 2013 16:37    

I am using the latest version of b2evolution and have a pretty simple - I think - question :

Creating a post always defaults to a center alignment of text and images - any way to change this default to left align ?

Using the built in editor will make you crazy trying to do this very simple change - its quite awful.

Unrelated to this I would like to turn off the location area of the post but have had no luck.

Thanks in advance !

http://www.billtoole.net

2 Oct 13, 2013 17:53

It comes from core basic.css.


div.image_block {
    text-align: center;
}

You can simply override it by adding div.image_block { text-align: left} at the end of your skins style.css file

3 Oct 13, 2013 17:58

Hi @btoole,

You may try to force the text and images alignment using CSS code directly at your skin. To do this you must locate the file /blogs/skin/[yourskin]/style.css (location and file name could vary according with your b2evo version), and add this code at its end.


.bImages .image_block,
.bText .image_block,
.bText p {
	text-align: left; /*May be set to: left, center, justify or right*/
}

Note that both, images and text, will be aligned to the left. If you want to stablish different alignments on images and text, you must split this code out and assign the right value according with your needs.

About your second question, you don't specify which version of b2evo are you currently using, but it looks like you have to disable the location info for that collection. Please read this: http://b2evolution.net/man/back-office-reference/managing-collections/collection-features/item-list-features/blog-features-settings

4 Oct 13, 2013 18:43

mgsolipa - Thank you so much / once I inserted your code into the css file it worked fine. It appears to adjust the default configuration in the editor which is what I wanted as well - awesome....

Location is now "hidden" - again thank you !!!!


Form is loading...