Fasionista Sub-Menu
-
I’ve really gotten the hang of coding but for some reason cannot figure out how to change the size/colour of my sub-menu!
Help, please.
Thank you 🙂
youngandtwenty.com
-
Hello,
you can add this code using your custom css plugin:
change the background color of the submenu, you can change the value of thebackground-colorbelow#main-navigation li:hover ul, #main-navigation li.sfHover ul { background-color: #333; }change the color and the font size of submenu fonts:
#main-navigation li li a { color: #a6a6a6; font-size: 12px; }Thank you!!
Another question,
How can I hide my featured image from my homepage posts?
youngandtwenty.com
seems like you have to edit the content.php to hide the featured image.
you can change this line<?php the_post_thumbnail( 'thumb-featured' ); ?>
to this <?php /* the_post_thumbnail( ‘thumb-featured’ ); */ ?>Hi Y
What Awan has refereed is right but not the best way to do it.
Please do any changes to the theme using a child theme, else the changes made would be lost in the next theme update which is inevitable 😉
So once you have the child theme installed, copy the content.php file from the parent theme and add it to the child theme and remove the following lines
<?php if ( has_post_thumbnail() ) : ?> <div class="entry-thumbnail"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" > <?php the_post_thumbnail( 'thumb-featured' ); ?> </a> </div> <?php endif; ?>Hope it helps!
PS: From next on, please create different threads for different issues.
Thanks
The topic ‘Fasionista Sub-Menu’ is closed to new replies.
