How to set proper width of gallery?

Posted in: Newspaper
Post count: 51

Hello,
I am using Newspaper and I need to set the proper width of the gallery. I am using even Custom Content Width plugin but it does not work properly because there is probably some absolute width. I would like to ask where to setup it?

Here is screenshot – http://xczech.com/wp-content/uploads/2017/05/Screenshot_17.png. To better understand.

Post count: 20688

Hi,

The theme has a fixed width defined in the theme’s stylesheet. All the content is contained inside the fixed width, and the elements are directly dependent on this fact. If you modify it this could break the layout of the page or post. I don’t understand what exactly you want to modify in this regard and what you mean by proper width. If that is a plugin that you are using for the gallery, maybe you could do it using the plugin settings.

Thanks

Post count: 51

Where I find theme stylesheet?

Post count: 51

My system saying – theme’s default content width is 640 pixels. I want to change this value. Please advise me where I can change it.

Post count: 20688

Hi,

The post content width when having a sidebar is 696px in width
https://www.screencast.com/t/9Fga6vooDwu
Without a sidebar this is extended to 1068px
https://www.screencast.com/t/PVOhD625m
That is the width of the container that includes all the elements on the page
https://www.screencast.com/t/ploIi0zwE
You could modify the width of the container with Css only on post pages, or if you want directly in the theme stylesheet – https://www.screencast.com/t/yFgH7vzKl
I would recommend you use Css if possible and target the post, so it would not affect all the pages where the container class is used.

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.