Home › Forums › WoodMart support forum › Change width of desktop view for blog only
Change width of desktop view for blog only
- This topic has 18 replies, 2 voices, and was last updated 2 days, 16 hours ago by Hung Pham.
-
AuthorPosts
-
January 11, 2025 at 12:30 pm #628936
postbox-007ParticipantI would like to make the width of the page for the blog pages (blog overview and blog post page) slightly smaller than the rest of my website.
I read in the search that it is possible via the theme presets. Unfortunately I have not been able to do this. Can you help me with how I can do this?
January 13, 2025 at 4:20 pm #629323
Hung PhamKeymasterHi postbox-007,
Thanks for reaching to us and appreciate your patience.
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Regards,
January 14, 2025 at 11:41 am #629551
postbox-007ParticipantOk, see in Extra info.
Small addition to my last reply:
For the single blog post I have solved this with the design elements (Magin left and right for the lines).
Unfortunately, this does not affect the comment line below the post. This is like the global width setting.- This reply was modified 1 week, 3 days ago by postbox-007.
January 15, 2025 at 3:26 pm #629973
Hung PhamKeymasterHi postbox-007,
Thanks for details.
Please remove your custom margins.
With the help of Theme Presets, you can select
Post type
from term condition and selectpost
. https://ibb.co/ZYg7KS0Then, go to Theme Settings > General > Layout > and you can set custom width.
Check our article about theme preset – https://xtemos.com/docs-topic/theme-settings-presets/
If you have any questions, let me know.
Regards,
January 15, 2025 at 7:02 pm #630048
postbox-007ParticipantNIce, thats work. Thank you.!
January 15, 2025 at 7:09 pm #630052
postbox-007ParticipantNice. Thank you. One Question:
Can I exclude the header from these specific width?
The header should be exactly as wide as on the other pages.
January 15, 2025 at 7:24 pm #630056
postbox-007ParticipantI have reduced the width again. Now it’s suddenly the full width again?
Cache and used CSS is deleted.
January 16, 2025 at 10:46 am #630155
Hung PhamKeymasterJanuary 16, 2025 at 5:54 pm #630329
postbox-007ParticipantOf course I have set this and also saved it. However, the system does not accept it and the setting is deleted every time, so that nothing is set in Conditions.
Screenshot 1: Saved
Screenshot 2: After refreshAttachments:
You must be logged in to view attached files.January 17, 2025 at 6:34 pm #630658
Hung PhamKeymasterHi postbox-007,
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
January 17, 2025 at 8:13 pm #630687
postbox-007ParticipantYes. If it’s just deactivate, it’s ok.
January 20, 2025 at 9:27 am #630982
Hung PhamKeymasterHi postbox-007,
Thanks for your patience.
I’ve fixed your issue. Please check your site again.
Regards,
January 20, 2025 at 9:36 am #630985
postbox-007ParticipantNice. Thank you ! One Question:
Can I exclude the header from these specific width?
The header menue should be exactly as wide as on the other pages.
January 20, 2025 at 10:03 am #630998
postbox-007ParticipantIt’s not okay. It had worked, but:
The theme preset you set had the name “New Preset”.
I just opened it, renamed it to “Blog” and saved it. Now the conditions are not applied again, but are always deleted by themselves.
January 21, 2025 at 6:17 am #631347
Hung PhamKeymasterHi postbox-007,
When you changed the name of preset, you also need to select post type as well, please double check https://ibb.co/W3m3zcF
Regards,
January 21, 2025 at 12:07 pm #631426
postbox-007ParticipantStrange. Every time I changed the name and set the post type, it was not accepted (as it was in the beginning). Now it works for the time being.
I repeat my other question: Can I exclude the header menu bar and Footer from these settings so that this header bar is just as wide as on all other pages of the website?
- This reply was modified 3 days, 21 hours ago by postbox-007.
- This reply was modified 3 days, 21 hours ago by postbox-007.
Attachments:
You must be logged in to view attached files.January 21, 2025 at 1:59 pm #631489
Hung PhamKeymasterHi postbox-007,
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
body.blog .whb-header .container{ --wd-container-w: 1700px; max-width: var(--wd-container-w); }
Regards,
January 21, 2025 at 6:15 pm #631620
postbox-007ParticipantThis Code works in Blog for:
☑ Header Menue in Blog Page
X NOT in Blog Single Post
X NOT in Footer (Blogpage, Blog Single Post)January 22, 2025 at 5:28 pm #631896
Hung PhamKeymasterHi postbox-007,
Please remove above code and use below one:
body.blog .whb-header .container, body.single-post .whb-header .container, body.blog footer .container, body.ingle-post footer .container,{ --wd-container-w: 1700px; max-width: var(--wd-container-w); }
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register