-
Posted in : Photographer
-
In a blog and page I have inserted images and set their alignment left and/or right so that the paragraph “wraps” around the image. Upon publishing, this alignment seems to be over ridden by a div tag…
<:div class="fluidbox-wrap" style="z-index: 990;", which I believe is preventing the actual image formatting<img class="alignleft wp-image-18 size-medium" src="http.....from allowing it to align as desired.Can this be disabled? How?
Blog Post: http://dev.lisabrightonphotography.com/2015/08/08/blog-post-1/
Page: http://dev.lisabrightonphotography.com/page2-2/You will this user/password: pixelwars/alignment
A sample of the desired alignment can be found here: http://www.lisabrightonphotography.com/2015/03/merkato/
Thanks for the reply.
Hi, you are using a child theme and overriding the original
style.cssfile (which contains alignment classes) with the one that doesn’t have the alignment classes,this is your style.css;
http://dev.lisabrightonphotography.com/wp-content/themes/photographer-wp-child/style.css
and this is the original one with the alignment stuff;
http://themes.pixelwars.org/photographer/wp-content/themes/photographer-wp/style.css
Thanks ahmetsali, but i don’t think that is it.
Nothing in the child theme is related to image alignment or anything else. I belive it may be caused by the use of a child theme (though it should not) and the issue is corrected when I use the parent theme. Oddly enough if I use the parent theme and use the theme options to set the theme to use the very same external css, it displays properly.
I would prefer to use a child theme, but it I have to use this method, I guess I will.
body {
color: #ffffff;
background: #000000;
}.nav-menu ul li a {
color:#ffffff;
}.widget-title span {
background: #555;
}.entry-title {
color: #c9b69b;
}input[type=submit], input[type=button], button, a.button, .button {
background: #c9b69b;
border: 3px solid #333;
color: #333;
}
input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox]),textarea,select {
border: 3px solid #555;
}Right now, the set up using the external css options.
Thanks for the assistance.
You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.
I would still like to know what is happening when using the exact same css file in a child theme as opposed to linking to a separate external css file. Any ideas?
You must be logged in and have valid license to reply to this topic.