WordPress Nano Mag: disable user email Div - how?
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
WordPress Nano Mag: disable user email Div - how?
http://jellywp.com/theme/nanomag/it-not ... rol-color/
If you scroll down this page, just above Relative Articles, you see "Nano Mag" as a user, their avatar and the SM icons.
Does anyone know how to stop this entire box from showing?
If you scroll down this page, just above Relative Articles, you see "Nano Mag" as a user, their avatar and the SM icons.
Does anyone know how to stop this entire box from showing?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress Nano Mag: disable user email Div - how?
It's going to vary a bit by theme, but look for the_author() and remove the surrounding block from your templates.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
There is no template in the Page Builders for Author tho. You set PAge Building to have a Homepage template. And we are using that.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress Nano Mag: disable user email Div - how?
Are you saying you don't have access to the theme itself?
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
I do. Yes. But I don't know where to look to find that particular bit of code.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress Nano Mag: disable user email Div - how?
Open the theme in your editor and find in files? grep?
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
I can't find it in the code.
I found this, but doesn't work for me:
http://www.zupadream.com/marble-cake-cherries/
The closest I can find it this:
I found this, but doesn't work for me:
http://www.zupadream.com/marble-cake-cherries/
The closest I can find it this:
Code: Select all
<?php if(of_get_option('disable_post_author_box') !=1){?>
<div class="auth">
<div class="author-info">
<div class="author-avatar"><?php echo get_avatar(get_the_author_meta('user_email'), 90); ?></div>
<div class="author-description"><h5><a itemprop="author" href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) )); ?>"><?php esc_attr(the_author_meta( 'display_name' )); ?></a></h5>
<p><?php echo get_the_author_meta('description'); ?></p>
<ul class="author-social clearfix">
<?php if ((get_the_author_meta('url')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('url')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/website.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('email')) != ''){ ?>
<li><a href="mailto:<?php echo esc_url(get_the_author_meta('email')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/email.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('linkedin')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('linkedin')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/link.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('rss')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('rss')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/rss.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('pinterest')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('pinterest')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/pin.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('devianart')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('devianart')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/d-art.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('dribble')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('dribble')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/dribble.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('behance')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('behance')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/behance.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('youtube')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('youtube')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/youtube.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('instagram')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('instagram')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/instagram.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('twitter')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('twitter')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/twitter.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('facebook')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('facebook')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/facebook.png"></a></li>
<?php }?>
<?php if ((get_the_author_meta('googleplus')) != ''){ ?>
<li><a href="<?php echo esc_url(get_the_author_meta('googleplus')); ?>" target="_blank"><img alt="" src="<?php echo get_template_directory_uri(); ?>/img/icons/google-plus.png"></a></li>
<?php }?>
</ul>
</div>
</div>Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
Bingo.
In Editor:
.auth {
display: none;
}
In Editor:
.auth {
display: none;
}
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress Nano Mag: disable user email Div - how?
We can't see the code, you can't search the code. I think we're at an impasse here.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
I could see it, and found the outer div that controls it. So set that to not display, and job done. Cheers.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
http://jellywp.com/theme/nanomag/
Same page, I cannot see in the CSS where the color is for the dropdown menu on the end, under Shop.
I have managed to get the hover over set for the menu and the dropdown, but not the dropdown background links.
I've looked at every background and background-color, but cannot see anything that would be it. I've tried added #000000 to some classes, but to no success.
Same page, I cannot see in the CSS where the color is for the dropdown menu on the end, under Shop.
I have managed to get the hover over set for the menu and the dropdown, but not the dropdown background links.
I've looked at every background and background-color, but cannot see anything that would be it. I've tried added #000000 to some classes, but to no success.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress Nano Mag: disable user email Div - how?
Background colour? Line 1229.
Code: Select all
.sf-menu li ul.sub-menu li:hover {-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
No that's on hover. I have that working.
It's what happens when it's not hovering. It's always a dark shade of blue.
It's what happens when it's not hovering. It's always a dark shade of blue.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress Nano Mag: disable user email Div - how?
Line 1272
You might do better to create a custom class/style for that list though.
Code: Select all
sf-menu ul li {-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress Nano Mag: disable user email Div - how?
So it cannot just be set...?
I can see the ul is set with "sub-menu", but that has everything set correctly... with no effect.
I can see the ul is set with "sub-menu", but that has everything set correctly... with no effect.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.