aphill70
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: posts problems.aligncenter, img.aligncenter { clear:both; display:block; margin-left:auto; margin-right:auto; }take the above line…and change it the the below…
.aligncenter, img.aligncenter { clear:both; display:block; margin-left:auto; margin-right:auto; float:none; }Forum: Fixing WordPress
In reply to: posts problemsOn line 618 of your style.css you are floating the img left
that is causing the problem because a floated element and be dynamically positioned with margin auto.
so you could add a float: none to the aligncenter call and that would fix it or remove the offending line…
Forum: Fixing WordPress
In reply to: posts problemsOk actually it looks like if you add some space between your text and the image within the visual editor i bet that will fix it.
what is happening is WordPress’ autop filter is adding the p tags and your img is getting wrapped with your first paragraph. and that is breaking the centering rules…
Forum: Fixing WordPress
In reply to: posts problemsno worries adding these styles at the very bottom of the file will ensure that if something is overriding them they will be fine you could even just replace those lines with the ones i gave you.
if you want to give me your url i could double check what the exact problem but i am pretty sure that the problem is probably a bad line of code in the aligncenter code.
so i would guess that if you add it the very bottom of the file it will fix this problem is something else breaks you can just remove and keep troubleshooting… with no permanent harm done
Forum: Fixing WordPress
In reply to: posts problemsthe align code is part of the theme and some themes don’t implement them right… if it was working then maybe they added some new css that overrode it.
if you just go to your appearance->editor you should see your stylesheet style.css
just add the following to the bottom of that file and click update.
img.alignright {float:right; margin:0 0 1em 1em} img.alignleft {float:left; margin:0 1em 1em 0} img.aligncenter {display: block; margin-left: auto; margin-right: auto} a img.alignright {float:right; margin:0 0 1em 1em} a img.alignleft {float:left; margin:0 1em 1em 0} a img.aligncenter {display: block; margin-left: auto; margin-right: auto}Forum: Fixing WordPress
In reply to: posts problemsThe reason your sticky post is not visible on the front page is because you have a static front page. you would need to put some sort of custom code in the page.php or front-page.php in order to get a post sticky to a static front page.
You could just hard code the text into whatever page you are using as your homepage…
about the image you are probably missing the css for centered images.
http://codex.ww.wp.xz.cn/Styling_Images_in_Posts_and_Pages
the default css styles are found at the above link if you just add it to the bottom of your style.css that should solve the problem with the image centering unless there is some other problem…
Forum: Fixing WordPress
In reply to: Theme causing improper rendering on site, need helpIf you contact your host they should be able to help you locate the log.
typically if something is catastrophically failing like it is php is automatically generating the log.
Forum: Fixing WordPress
In reply to: Theme causing improper rendering on site, need helpOk so i tested your content.php on my site with my copy of the theme and it worked just fine.
have you had a chance to find the error_log?
that will probably be the fastest way to see what is causing problem.
Forum: Fixing WordPress
In reply to: Theme causing improper rendering on site, need helpwell it looks like your home page is just cutting off so my guess is that there is some sort of php error causing it to terminate before all the output is genereated.
if you can locate your error_log and look at the most recent ones that may help us.
Forum: Fixing WordPress
In reply to: Theme causing improper rendering on site, need helpThe screeshots you are showing look like maybe there are broken divs in the theme somewhere or maybe your posts have something broken that is not allowing the site read and render the css correctly.
however that is hard to figure working from screenshots so maybe if you were to put a copy of blog somewhere else so that you aren’t hurting your visitors.
but the other thought would be to completely delete the theme from your themes folder and reupload a brand new version.
also is it the same in all browsers or only some? some browsers tend to be more forgiving when it comes to broken divs…
it may also be a plugin having issues with your theme so maybe disabling all of your plugins and seeing if that fixes and if it does then turning them back on one by one til it breaks again…
Forum: Fixing WordPress
In reply to: website not loading- "logsbotsonline.net" error??You could review the ftp logs and see if you can spot activity that you don’t recognize shortly before you were hacked…
also you can copy your wp-config.php then delete everything but your wp-content folder and then upload a new copy of wordpress
you would then use your saved config file to reconnect to the same database with al the same settings…
if the problem would still persits after that you know that the hack has to be within your wp-content … theme or plugin or the database…
Forum: Fixing WordPress
In reply to: website not loading- "logsbotsonline.net" error??I don’t think that that message is necessarily part of the hack. if you google it there are several wordpress themes that appear to come with it. Developers being funny i guess…
it could be in the scripts especially. anyways hosts sometimes can roll back to a backup if they keep them otherwise you will have to just go through your site line by line looking for the extraneous code.
Hopefully hostican can help…
Forum: Fixing WordPress
In reply to: website not loading- "logsbotsonline.net" error??another thought is maybe they dropped it onto the root index.php.
if its not there then they are probably either using a hook or its in the database tacked onto something that is getting pulled to the footer
Forum: Fixing WordPress
In reply to: website not loading- "logsbotsonline.net" error??Well first thing to do will be to change your passwords on your server.
if you have direct access to your server to remove the malicious code you will need to go to your theme directory and find where they inserted the code.
from its location it should be in the footer.php
theme folder is wp-content/themes/<your_theme>
then typically the code will be inside the footer.php
if its not there then they hacked something else and probably are calling something to insert the code at view.
but getting hacked isn’t the end of the world just change your passwords and track down the bad code.
Forum: Fixing WordPress
In reply to: website not loading- "logsbotsonline.net" error??did you find it?
i would look in the footer.php