Support ForumChange the body text width in posts only – Support Forum https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/feed/ Fri, 10 May 2024 00:13:22 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9447 <![CDATA[Change the body text width in posts only]]> https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9447 Mon, 10 Aug 2015 18:17:42 +0000 Scyd Hello again,

I find the body text a bit too wide in the articles or posts, when full-width is activated. I’d like it to be 50% narrower or something like that, where can I make that change (some custom CSS I guess) ?

Thank you!

]]>
https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9453 <![CDATA[Reply To: Change the body text width in posts only]]> https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9453 Tue, 11 Aug 2015 05:47:21 +0000 IshYoBoy Hi Scyd,

yes, you right. You can adjust your theme by custom CSS. But there can be many solutions.
Could you please provide a link where we can see the result and also where exactly you need apply these changes?

E.g. this code will set all your content to 50% width in case your content is unboxed and row is notfull:

You need select right selector for you.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9459 <![CDATA[Reply To: Change the body text width in posts only]]> https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9459 Tue, 11 Aug 2015 07:39:38 +0000 Scyd I need to apply the change only on the text boxed in red (not all the content):
https://imageshack.com/a/img909/8531/8UMy9R.png

… to give it more or less the width of the red area:
https://imageshack.com/a/img538/9885/GJ12Km.png

Thank you!

]]>
https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9463 <![CDATA[Reply To: Change the body text width in posts only]]> https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9463 Tue, 11 Aug 2015 09:29:03 +0000 IshYoBoy Hey,

You can either place it in a row with 1/4 + 1/6 + 1/4 and place the text in the middle one.

OR

Every page element has “Advanced Global Attributes” in the bottom of it’s settings. So you can use the “Inline CSS Style” to add e.g. “max-width: 500px” etc..

OR

Use the same settings to add a specific “CSS Class” and target it via css in the “Custom CSS” field under Theme Options.

OR target ALL “text” elements when inside a blog post. Check the class names added to the “body” element. There are unique ones for the given post, the given post type, etc..

There are many possibilities and it’s up to you ;)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9467 <![CDATA[Reply To: Change the body text width in posts only]]> https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9467 Tue, 11 Aug 2015 10:00:53 +0000 Scyd Alright, I see what to do. Yeah, already thought about the 1/6+1/4+1/6 columns solution, but that doesn’t seem very “clean” to me (or is it?).

Thanks again ;)

]]>
https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9468 <![CDATA[Reply To: Change the body text width in posts only]]> https://support.ishyoboy.com/forums/topic/change-the-body-text-width-in-posts-only/#post-9468 Tue, 11 Aug 2015 10:09:48 +0000 IshYoBoy Hey,

I would personally go for the “max-width” option ;) The text will remain the same width until it cannot fit anymore.

The grid solution is absolutely fine unless you want them on all texts in all posts.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>