The answer lied in the fact that not the article
elements differ, but the body
element. So, I added
body.archive-jetpack-portfolio article {
display: inline-block;
width: 300px;
vertical-align: top;
}
to my CSS, and it all looks fine now.
Related Posts:
- How to align a to the middle (horizontally/width) of the page [duplicate]
- Animate the overflow property
- Is there a color code for transparent in HTML?
- “Stray start tag footer” in html validator?
- draw diagonal lines in div background with CSS
- How to set up fixed width for
? - CSS3 Transition not working
- CSS Invalid Property Value?
- CSS how to make an element fade in and then fade out?
- How to center vertically and horizontally a div using Bootstrap?
- How to word wrap text in HTML?
- Style disabled button with CSS
- Combine :after with :hover
- How to show tags in my tumblr theme?
- HTML span align center not working?
- Twitter Bootstrap – add top space between rows
- Hex colors: Numeric representation for “transparent”?
- Adding a blurred border in CSS
- CSS to select/style first word
- img-responsive in Bootstrap does not work
- sizing div based on window width
- Specify multiple attribute selectors in CSS
- How to make certain text not selectable with CSS
- How do I center an SVG in a div?
- How to expand textarea width to 100% of parent (or how to expand any HTML element to 100% of parent width)?
- Is it possible to enqueue a raw CSS string directly from within a template file?
- How to modify/extend/override a core method?
- Adding style sheet to specific page
- How to dequeue a stylesheet by src, not handle?
- WordPress CSS head info – contents, expansions?
- Gutenberg Block Editor Match Admin Styles & Frontend Styles
- add a CSS id to the body of a page in wordpress
- The correct way to include JavaScript and CSS in my WordPress Themes
- Possible to include ACF text field within inline style tag?
- Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
- wp_head function causes 30px blank space [closed]
- Styling Custom Meta Boxes?
- Customizing wordpress to match your site theme
- Is it better to put CSS in additional CSS or in Child theme styles.css [closed]
- WooCommerce change number of columns in the frontpage
- Adding HTML to the Header, Screws up in IE7
- Efficient way to edit WordPress themes
- How to add an RSS logo to my blogs header?
- Where Do I Find The Astra Default Font Family That All Text Elements Are Inheriting From? [closed]
- Getting page output HTML without request (for CriticalCSS, PurgeCSS)
- How to organize priority of plugins CSS files?
- Responsive Images Warping
- Remove margin from CSS gradient color code
- Unable to remove space between header and slider section in wordpress website
- How can I use one stylesheet for multiple sub-sites on my multi-site network?
- Child theme stylesheet not always overriding “index”
- How do I apply/target CSS to a specific user role or roles?
- Why is this jquery / java script code not working in mobile / in devices?
- Seperate functions.php for part of site
- Internet Explorer ignore my css
- How can I remove the ::after CSS selector which is automaticaly appended to the_content()?
- Hover colour spreading out beyond submit button
- Some Text of website page on Iphone Safari become invisible
- Image getting out of container [closed]
- Clients website shows blank page [closed]
- post_class not working with css
- Adding CSS to Blog Posts?
- Where do I go to change the position of the style.css?
- Using PHP Increment and Conditional Statement to Alternate Loop Background
- wp_enqueue_media is not loading styles
- Remove a Style Tag from WP Theme
- Simple way to add custom class and ids to individual Gutenberg blocks
- What is the best method to have Dynamic CSS?
- how to stop the shaking effect on my homepage [closed]
- List item images perfect on Chrome/Edge, css fudged on FF/IE [closed]
- Cannot change hover color for links [closed]
- How do I get access to the CSS Editor
- prevent HTML output if custom field is empty [closed]
- Style product detail page with custom CSS in woocommerce
- Using variable to display a page with a different stylesheet
- why does this text overlaps in the sidebar?
- JS button animation for ajax the WordPress style
- Adding a new block editor color option to a theme
- How to make jquery slider to start afresh [closed]
- Custom CSS based on the Author of a Post
- How to properly hide the div of an inline collapsible button?
- How to remove padding from left&right side
- How can we create our own formatting style?
- links format change “on clic”
- I can not change the background-color value of wp: meta_value of content.xml
- Is it better to add to style.css or create your own css when using a template?
- Hide Login Page Labels
- The placeholder text doesnt disappear
- Theme stylesheet not called properly on cloned website
- CSS Changes made, lost mobile functionality
- Content alignment in Twenty Fourteen Theme
- Color Picker – Theme options
- Extending site width according to the image size
- How to edit wordpress native gallery’s css file?
- Animate.CSS with a child theme
- Change Twenty twelve theme background color
- How to change header from full-width to box width
- Add woocommerce plugin in own theme
- Change sidebar product category text color (woocommerce) [closed]
- Suddenly, all links in #content div are not clickable, but I don’t see any z-index bug? [closed]