New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Front Page Shows Link Color In Summary Text #188
Comments
When I "view source" on your site, I notice there are several sections of the auto-generated Theme Customizer CSS missing (Text Color, Link Color): <!--WordPress Theme Customizer CSS-->
<style type="text/css">
/* Background Color */
.site { background-color:#ffffff; }
/* Comment Form Background Color */
/* Text Color */
/* Link Color */ Can you try going into WordPress Dashboard → Appearance → Customize, expand the Colors panel, click Select Color* on each one, and then press Default? Once that's done, hit Save and then visit your site and see if that fixed the issue. If that did not fix the issue, then I'm thinking you might have a WordPress plugin installed that is conflicting with the Independent Publisher theme in some way--disabling plugins one-by-one and retesting should uncover the culprit. |
Hi Adam, A re-install shouldn't be necessary. Even if there is not a pertinent div.entry-content a { That said, I also notice that in the live preview a Continue Reading Sorry for only giving a quick fix. I am not that well know with this theme. Best regards, adamcroom schreef op 15-4-2015 om 20:26:
|
Michael—I’ve added that to the CSS. The only problem with it is that now the links inside my blog posts are also black. — On Wed, Apr 15, 2015 at 1:40 PM, concatenateNL notifications@github.com
|
@adamcroom Who are you using for a web host? |
Reclaim Hosting: http://reclaimhosting.com — On Wed, Apr 15, 2015 at 2:25 PM, Raam Dev notifications@github.com
|
@adamcroom I just tested the theme on two different hosts (WP Engine and LiquidWeb) and I haven't been able to reproduce this issue. Any chance you could give me a temporary WordPress Dashboard admin account and access to the database (via phpMyAdmin)? If you have a test site with a clean install of WordPress where this is happening, I can use that to diagnose this further. |
@raamdev — sure thing. Whats the best way to get it to you privately? — On Wed, Apr 15, 2015 at 2:48 PM, Raam Dev notifications@github.com
|
Email raam @ [my GitHub username] .com |
Sorry about that. It was a quick fix and I couldn't reproduce it myself. Good luck. adamcroom schreef op 15-4-2015 om 21:15:
Met vriendelijke groet, Michael Albers |
@concatenateNL Thanks for helping out! :-) |
@raamdev email sent! |
@raamdev Hi, I have the exact same problem with your theme (http://www.lamakopf.de) and I was wondering if you found the mistake? |
What I did was: on line 1093 of functions.php I deleted the "!" (I know it's an ugly fix but it works for me). |
@jan-vandenberg Thank you, it worked perfectly! |
I believe that I have finally figured out what was causing this problem: If you customize the Link Color without ever touching the Text Color, the Text Color never actually gets set and then this line returns false, which means the theme never overrides the newly customized Link Color. Changing this line to the following should fix this bug: $default_mod_value = ($mod_name === 'text_color' ? '#000000' : '');
$mod = get_theme_mod( $mod_name, $default_mod_value ); |
Next Release Changelog:
|
Thanks for this fix @raamdev! Much appreciated! |
My website is http://adamcroom.com. The text of front page summaries is the link color instead of black like the demo content. I see the correct view in the "Customize" viewer but not once I push out the update.
And, just as a note, I've gone ahead and made my link color a grey for now but would like to use the default green!
The text was updated successfully, but these errors were encountered: