globetrotterdk
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Twenty twelve child theme navigation menu hover padding.OK, in case anone else stumbles on this post, here is the solution for my child theme:
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { margin-left:-45px; padding-left: 45px; padding-right: 40px; background:#A7DBD8; border-bottom: 1px solid #ededed; border-top: 1px solid #ededed; display: inline-block !important; text-align:left; width: 100%; } .main-navigation li ul li a { background: none repeat scroll 0 0 #A7DBD8; border-bottom: 1px solid #EDEDED; display: block; font-size: 0.785714rem; line-height: 2.18182; padding: 0.571429rem 0.714286rem; white-space: normal; width: 12.8571rem; } .main-navigation li a, .main-navigation li { display: inline-block; text-decoration: none; padding: 0 10px; margin: 0 0; } .main-navigation li ul li a{ margin-left: -10px; color: #444; } .main-navigation li ul li a:hover{ margin-left: -10px; background: #4CA6A6; color: #444; } .main-navigation li ul li ul li a{ margin-left: -20px; color: #444; } .main-navigation li ul li ul li a:hover{ margin-left: -20px; color: #444; } .main-navigation li a:hover { background: #4CA6A6; }
Forum: Themes and Templates
In reply to: Twenty twelve child theme navigation menu hover padding.Been there, done that. That is how I have gotten as far as I have. I think this has something to do with inline-block elements and how they act.
That worked, thanks ??
Thanks for the quick reply. I am very new to php. I think I understand:
<?php if($postid != '1') : ?> <?php twentytwelve_entry_meta(); ?> <?php endif; ?>
However, I don’t understand how:
<?php $postid = get_the_ID(); ?>
will give me the ID number of the sticky post. It doesn’t appear to target any specific post type or single post to get the specific ID that I need.
Lastly, I understand that unlike CSS, entire PHP files need to be copied to the child theme. That of course means that there is a lot of code already in PHP files. How do you determine where to place new code among already existing code in a PHP file?
Yes.
Yes. The page is being used as a list of documents over time.
Forum: Fixing WordPress
In reply to: Managing WordPress remote site with Dreamweaver CS6.Thanks. I also found this:
https://www.hosting.com/support/wordpress/use-dreamweaver-to-manage-a-wordpress-siteForum: Fixing WordPress
In reply to: Managing WordPress remote site with Dreamweaver CS6.The key issue is managing a WordPress site with other software, to increase flexibility. In this case, using Dreamweaver to manage the site and edit themes. Seems relevant to me.
Forum: Fixing WordPress
In reply to: NGO site upgrade 2.7 – 3.1.1 theme question.Bump.
I just upgraded the site from WordPress version 2.7 to 3.3.1, and I can confirm that the theme no longer works. What is the problem and how can I fix it?Forum: Fixing WordPress
In reply to: Static blog page not open for business.This appears to be theme related. I have again contacted the theme developer. In the mean time, my site seems to be working fine with the default theme.
Forum: Fixing WordPress
In reply to: auth_salt and logged_in_salt settings – where are they?What I was looking for was the following page:
https://www.example.com/wp-admin/options.php
Then I needed to add:
define(‘AUTH_SALT’, ‘AUTHSALT’);
define(‘LOGGED_IN_SALT’, ‘LOGGEDINSALT’);to the bb-config.php file.
It would be a good idea to save this as a sticky.
Forum: Fixing WordPress
In reply to: auth_salt and logged_in_salt settings – where are they?I thought that I would add, that apparently the auth_salt and logged_in_salt settings are expected to be in my wp-config.php file, but there aren’t any such variables in that file.
Forum: Fixing WordPress
In reply to: Creating WP user database table prefix?Ahhh. OK, Thanks
Forum: Fixing WordPress
In reply to: Static website with blog help needed.That is just the static front page. You have to press the “blog” link.
Forum: Fixing WordPress
In reply to: Static website with blog help needed.Hi Blog Doctor,
Thanks for the offer. I just contacted the developer of the theme to see what he has to say, if anything, as I am not sure that this is a theme issue. Now I am waiting for a reply. I tried replacing the index.php file with one from another of my WP websites without any change. Keep the line open in just in case and I’ll get back to you.
Cheers