Comments (3)
Also, I've now tried two other twitter-bootstrap related themes, Roots http://www.rootstheme.com/ and StrapPress http://braginteractive.com/bootstrap/ - both did not have the issue; the image alignment and captioning worked as I set it. I'm looking over the CSS for wordpress-bootstrap now to try and find the overriding element that must be canceling out the intended behavior.
from wordpress-bootstrap.
I've fixed this by adding the following block to the style.css, but it also could be set via the Theme Options > Other Settings
/*Image alignment and Caption*/
#content .wp-caption{background:#F5F5F5;line-height:18px;margin-bottom:20px;text-align:center;padding:4px;}
#content .wp-caption img{margin:5px 5px 0;}
#content .wp-caption p.wp-caption-text{color:#888;font-size:12px;margin:5px;}
#content .attachment img{max-width:620px;}
#content .alignleft,#content img.alignleft{display:inline;float:left;margin-right:24px;margin-top:4px;}
#content .alignright,#content img.alignright{display:inline;float:right;margin-left:24px;margin-top:4px;}
#content .aligncenter,#content img.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;}
#content img.alignleft,#content img.alignright,#content img.aligncenter{margin-bottom:12px;}
#content .attachment img {display: block;margin: 0 auto;}
Note that I used #F5F5F5 as the background color, which is the same as the default Hero background color.
from wordpress-bootstrap.
Since this over-rides default Wordpress behavior you might want to add it to the theme.
from wordpress-bootstrap.
Related Issues (20)
- Javascript Live Reload
- Main site down HOT 1
- Cannot access global $wp_query;
- Can't make it work on windows+wamp HOT 2
- Font Awesome not working HOT 8
- Drop down menu isn't working HOT 2
- Nav Item > Child > Child does not open on click HOT 5
- Is development on this theme dead? HOT 22
- Keeping npm and bower up to date HOT 2
- Can use this themes in shared hosting ? (cant npm) HOT 3
- How to Change default boostrap theme to bootswatch cyborg
- Importing Custom fonts in theme
- Wrong call for previous and next posts link in index.php
- Where Are [caption] tags being stripped put
- Limited number of Menus
- I recommend moving to this project
- second level menu not working HOT 2
- Demo Not Working
- collapsed menu
- I'd like to update the versions and documentation HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-bootstrap.