Jump to content
petere21

[Solved] How to fix width of post area to sidebar in post

Recommended Posts

petere21

How to adjust the sidebar width and the content width in the single post view ? When I use wordpress gallery, it overtook and change dramatically width of sidebar

I tried to change alll posiible settings but only way I found is use divider with fix width .... but then galllery loose responsiility

I also tried to change post tu full width and sidebar extra in lax, but then  I cannot use various widgets from wordpress post.

The only what I want is to have same ratio between post area and sidebar area

whit gallery looks post like this : http://www.ebikecenter.sk/454-2/

 

Normally looks like this: http://www.ebikecenter.sk/test-haibike-xduro-fullseven-5-0-2017/

I found very similar problem from april signed SOLVED but I cannot find any solution ... :-(
 

Edited by petere21 (see edit history)

Share this post


Link to post
Share on other sites
edgarcheverier

Hi, you can use this code into your CSS editor, you can change that 700px until finding what is the size you want.

.pl-content-layout .pl-content-loop {
 max-width: 700px;
}

or this one:

.pl-sn img {

  max-width: 90%;
}

Edited by edgarcheverier (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • petere21
      By petere21
      After activate new web site
      I had several licences for use but system show me that I have no licence 
    • petere21
      By petere21
      When i see wp content,i have no margin from left and right side means bordee on tablet view
      mobile margin around wpcontent is fine dtp also ok it looks like spread enough  on tablet - ipad - there is no margin and text from left side and widgets from tight side content sticking border of monitor how could i fix margin for example 5px for tablet view? But without changing the mobile margin 
      Sample https://www.restartnisa.sk/poloniny-po-zemplinsky/
      thanks 
      petere
    • petere21
      By petere21
      Does pagelines support AMP technology for mobiles?
       
    • petere21
      By petere21
      How to control spaces between images ?
      I can control section  padding from left and right side but not between  images.
      Could someone help me?
    • petere21
      By petere21
      After changing protocol http to https I have lost all count information next to the icon in the Sharebar extension. All counts is set to zero. Is there any chance to give number of sharing take back? 
      thanks
×