WebSite X5Help Center

 
Ivan M.
Ivan M.
User

Blog editing  en

Автор: Ivan M.
Просмотрено 689, Подписчики 1, Размещенный 0  

Hi everyone, 

I have a question. Is there a way how to specify the width of the text in the blog. I wanted to have it bit narrower (thinner), but I don t see any option to make it smaller. 

If it is possible, how could I reformat articles in the blog?

Thank You a lot.

Ivan

visit channeling.sk 

Размещено
9 Ответы - 1 Полезно - 1 Корректно
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

This is a case for the CSS experts.

I'm not a CSS expert and my attempts at CCS have not worked.

You can enable the [</>] symbol for HTML code in the blog post, but the HTML code will be garbled and thus unusable.

Читать больше
Размещено От Daniel W.
Siegbert G.
Siegbert G.
User

I'm not an expert in CSS, but I used this code that the text in the blog, especially when responsive, is spaced from the margin. Is this what you meant?

<style>
.imBlogPostBody, #imBlogContent .imBreadcrumb, #imPgTitle, #imPgTitle a, .imPgTitle, .imPgTitle a {
margin-left: 20px;
margin-right: 20px;
margin-top: 12px;
}
</style>

Читать больше
Размещено От Siegbert G.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

My first attempt failed due to a typo, here is the 2nd attempt without a typo.

The CSS experts would still have to improve it to make it look good.

----- WebSite X5 -----

3 Sitemap

Blog: main page <-- click

Properties <-- Click

Advanced <-- click

-----

Custom code:

Before the </HEAD> tag

<style>
.imBlogPostBody {
max-width: 640px !important;
}
</style>

----- Screenshot -----

Читать больше
Размещено От Daniel W.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

New CSS-Code for centered text.

-----

<style>
.imBlogPostBody {
margin: auto;
max-width: 640px !important;
}
</style>

-----

Читать больше
Размещено От Daniel W.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

On my website, I set the width specification to "720px" in the CSS code.

-----

<style>
.imBlogPostBody {
margin: auto;
max-width: 720px !important;
}
</style>

-----

Читать больше
Размещено От Daniel W.
Ivan M.
Ivan M.
User
Автор

Hi guys,

wow, thank You very much for answers, I will try to do it.

Let You know if I succeeded.

Have a good one.

Ivan

Читать больше
Размещено От Ivan M.
Ivan M.
Ivan M.
User
Автор

Hi guys,

how can I get into CSS style please :-D 

Thanks I am not so good at creating websites, that s why I decided easier way to create them by using website X5.

thanks a lot.

Ivan

Читать больше
Размещено От Ivan M.
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца EN

In one of my previous posts I already described how to add CSS code to the blog, described here again, see

----- WebSite X5 -----

3 Sitemap

Blog: main page <-- click

Properties <-- Click

Advanced <-- click

-----

Custom code:

Before the </HEAD> tag

1 ... insert CSS code here ...

-----------------------

Of course you need good CSS knowledge if you want to create the right CSS code yourself.

Читать больше
Размещено От Daniel W.
Ivan M.
Ivan M.
User
Автор

Daniel thank you so much. It works as wished from my side. Siegbert thank you as well. 

Читать больше
Размещено От Ivan M.