Adding my solution so far, though it doesn’t seem ideal to me. Also the .entry-content
parent doesn’t get applied in the editor.
/* trick to have root paragraphs left-aligned "in the central wrapper" without extra dom */
.entry-content > p{
padding-right:calc(1264px - 830px);
max-width:1264px;
box-sizing:border-box;
}
@media only screen and (max-width:1300px){
.entry-content > p{
padding-right:calc(100% - 830px);
}
}
Related Posts:
- The Global Styles missing
- Full Site Editing Non-editble global styles?
- How to add arbitrary custom CSS to a WordPress Block Theme using Site Editor?
- Gutenberg: where to find style settings
- Are there Gutenberg container blocks?
- show classes as dropdown in guttenberg`s additional css classes input box
- Style new block-editor alignfull class without scrollbars or overflow
- What CSS rules are introduced to core blocks through wp-block-styles?
- Gutenberg Block Editor Match Admin Styles & Frontend Styles
- If I dequeue Gutenberg Stylesheet will that have any effect on WordPress 5.0.1?
- is it possible to use post-type as part of a css selector in block editor stylesheet?
- Remove WordPress/Gutenberg button styles for ACF blocks
- Gutenberg Additional CSS Class without modifying theme?
- How to override Gutenberg admin CSS
- Different css rules for TinyMCE and Gutenberg while using add_editor_style()
- Can you edit WP gutenberg block css without a plugin?
- How to stop Gutenberg from outputting inline CSS for specific blocks?
- Enqueue styles in new site editor in WordPress 5.9
- create bootstrap columns inside editor group block
- Add Custom Alignment Option to WordPress Blocks/Gutenberg
- Simple way to add custom class and ids to individual Gutenberg blocks
- ACF Gut block broke wordpress default style?
- Scroll code block instead of wrapping text
- Default paragraph block styles just for pages NOT for posts?
- Custom CSS in Widget editor (Gutenberg) gets stripped out
- Custom Gutenberg color classes naming convention
- Adding a new block editor color option to a theme
- Stop custom Gutenberg styles taking over other admin bits?
- Why can’t blocks be hidden with jQuery?
- Gutenberg CSS Issue
- Trying to make an image a circle in Gutenberg
- What is the cleanest way to shrink Gutenberg Blocks to container width?
- Gutenberg Editor: display error with a combination of transform and background-attachment:fixed
- Default Gutenberg CSS on frontend
- Customizing the CSS for the post/page editor?
- Use of CSS classes in editor-blocks.css file
- Images at the same vertical position in multiple columns
- How to set the background color of a template part (Header/Footer) in Twenty Twentythree?
- How do I make my block-editor styles match my front-end styles?
- Dequeue classic-themes.min.css
- How do I add custom CSS animations for specific Gutenberg blocks?
- How can I add a section with a different background color?
- adding additional css classes have no effect within block editor
- How do I change search input padding for blockbase child theme?
- Insert a group block inside a list item
- How can I disable fontSizes of the Paragraph block inside the Quote block with theme.json?
- Block content rendered with inline CSS. How do I reuse it in a headless setup?
- How to remove class=”wp-block-heading” from Heading tags?
- Custom block style not working in the editor
- Customize margin between paragraphs using the Gutenberg Style editor
- Is there a CSS parent selector?
- css transition opacity fade background
- Text-decoration: none not working
- How to center HTML5 Videos?
- What is the difference between visibility:hidden and display:none?
- Center a position:fixed element
- How to change the background colour’s opacity in CSS
- When using https, wordpress doesn’t use https for CSS and JS, and admin doesn’t work. How do I fix this?
- raw code vs wordpress
- How to create fa-bars animated menu
- Only column gallery on mobile device
- Changing CSS FilePath for All Pages
- CSS Minification
- wp_add_inline_style breaking style and not working
- show count is out of the anchor tag in wp_list_categories
- How to add a custom CSS class to ALL links
- Why won’t my custom login page CSS load?
- NGINX+wordpress: CSS being served but not applied
- How to apply CSS based on publishing date
- Menu toggle bar works only on some pages in WordPress
- Setting font sizes in theme.json
- Including CSS files in HEAD based on page content
- Video header on mobile, disappears behind header and content
- Free theme and css/bootstrap.css is not overridden in the child theme
- How to style text in WordPress
- Equal height sections in custom Headway Theme
- Links on the page, when being printed, have the URL next to them
- How do I minify ‘@import’ css files with wp-minify?
- Selector for page to set up scrolling plugin
- Button doesn’t work in the profile panel
- My css don’t get applied on the costume widget
- astra theme costum css not working in wordpress 5.6
- Is there a way to cache mailchimp css on wordpress?
- Trying to get my CSS files to load last using add_action(after_setup_theme, add_css_js, 100000)
- How to get different html tags from the content using regex?
- use css for resize image into mobile thumbnail
- How to set up workspaces with Chrome & WordPress?
- How to Position Read More link after post excerpt?
- Controling css order
- Why are my parent styles loading after my child styles?
- how to arrange the bullet list items in vertical [closed]
- Overriding WooCommerce CSS? [closed]
- Issue with TABLE or DIV padding on Mobile [closed]
- Center-Align Images on Mobile Only
- Bootstrap navbar-fixed-top issues [closed]
- Setting colors in theme.json changes default font size and family in backend
- WordPress site suddenly not showing some DOM elements but mobile is fine
- Image and font support missing in editor when deploying theme remotely
- Editing size of h3 tag in wordpress on a one-off basis
- Content doesn’t fit on large size desktops like 2560×1440