UpFrom100
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CSS centering problemSorry…I THINK it’s:
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
border-bottom: none;
border-top: none;
display: inline-block !important;
text-align: center;
width: 100%;
padding-left: 1.4em;
}But I’m not really sure :/
Forum: Fixing WordPress
In reply to: CSS centering problemHere’s my whole stylesheet (it’s not that long). It’s a total mess – that’s pretty much the only thing I’m sure of.
@import url('../twentytwelve/style.css'); .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a { color: #000; font-weight: bold; } .main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { border-bottom: none; border-top: none; display: inline-block !important; text-align: center; width: 100%; padding-left: 1.4em; } .main-navigation li a { border-bottom: 0; color: #594D49; line-height: 3.692307692; text-transform: capitalize; white-space: nowrap; margin: 0 5.857142857rem 0 0; position: relative; font-size: 16px; letter-spacing: .09em; margin-right: 100px; font-weight: bold; } .main-navigation li a:hover { color: #000; font-weight: bold; } /* only target browsers wider than 979px */ @media (min-width: 979px) { /* position logo absolutely so it's outside the flow of html and effectively on top of the menu */ img.header-image, img.wp-post-image { border-radius: 0; box-shadow: 0 0 0 rgba(0,0,0,0); float: left; position: absolute; left: 50%; margin-left: -60px; display: inline; padding: 0; width: 136px; z-index: 1; } /* shift menu down so it logo doesn't sit on top of it */ #menu-navigation-menu { margin-top: 40px; } body { font-size: 14px; font-size: 1rem; font-family: Helvetica, Arial, sans-serif; color: #594D49; } #menu-item-220 { left: 60px; } #menu-item-89 { right: 13px; } #menu-item-92 { left: 115px; } #menu-item-93 { left: 33px; } #header-image { bottom: 20px; } .site-header { padding: 0.714rem 0 4rem; } .nav{ border:1px solid #ccc; border-width:1px 0; list-style:none; margin:0; padding:0; text-align:center; } .nav li{ display:inline; } .nav a{ display:inline-block; padding:10px; } img#wpstats {display:none}[please mark any posted code – http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]
As the menu items weren’t centering, I sort of ‘guestimated’ by eye and used padding and such to move things around. Now everything is ‘around’ the right place, but one can still tell that everything isn’t perfectly aligned when one looks at the page.
I’m sure there must be a simpler way of going about it. Thinking I could erase a lot of what I’ve got there as I’m sure some isn’t even doing anything (probably where all my errors are coming from)…just a bit nervous to touch anything as the site is live!
Thanks!
Forum: Fixing WordPress
In reply to: Site address (URL) keeps reverting back to subdirectoryYes, the URL was being overridden in the functions.php file via the following two lines:
update_option(‘siteurl’,’http://www.flouroflondon.com/wordpress’);
update_option(‘home’,’http://www.flouroflondon.com/wordpress’);I think I did this before, trying to follow another thread’s advice. Whoops! Hopefully someone else will learn from this.
Thank for all your help!
Forum: Fixing WordPress
In reply to: Pretty permalink displaying as 'gallery-2' rather than 'gallery'Amazing – didn’t realise pages in the trash counted. Deleted it and all is sorted. Thank you so much!!
Forum: Fixing WordPress
In reply to: HTTP error on image upload.It was the ol’e mod security issue. My host support was able to fix the problem for me. Thanks once again, Esmi!
Forum: Fixing WordPress
In reply to: Site address (URL) keeps reverting back to subdirectoryAlso getting an internal server error when i try to upload and image using the basic built in file uploader in the dashboard (the multi uploader doesn’t work either, but only gives an HTTP error):
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
have a feeling that has something to do with it – something somewhere isn’t configured right. maybe a database thing? not sure how to find out.
Forum: Fixing WordPress
In reply to: HTTP error on image upload.I would check the error message in my web server’s log file, but not sure how to do that…
Forum: Fixing WordPress
In reply to: HTTP error on image upload.Oh, and I tried deactivating my child theme just in case, and it shouldn’t be the plugins or the WP version because none of that has changed at all since before I had the other problem with my permalinks. Everything else is the same.
Thanks.
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home pageThanks! 🙂
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home pageWhoop! It worked! I had to do a hard refresh before I saw it, but it worked! Thanks so much esmi!!!
Now I just have to VERY CAREFULLY follow the instructions on moving my URL in the correct way this time!!!!
Thank you again for all your help and patience! Hopefully someone else will find this helpful too!!!
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home pageYes. All page and content info is there in the Dashboard. Still getting the error when I try to view the pages though.
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home page20:04:09 (it’s 20:32:09 here at the moment).
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home pageIt’s not moving. I tried disconnecting and re-connecting but it’s not doing anything. However, from what I can tell it looks lik everything HAS transferred to the server side….
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home pageSoooo…I just sit tight now??
Forum: Fixing WordPress
In reply to: Getting 404 error on all pages other than home pageWell, I had a whole site built – there was plenty uploaded before…
Do I have to go back into my site’s Cpanel and re-install WordPress again maybe?