nahtee
Forum Replies Created
-
Hey rahulpragma,
What about wp super cache? The snippet you posted works fine for w3 total cache…
But, how to purge AO cache alongside WP Super Cache? Can we get a snippet for that?
Thanks!
Forum: Themes and Templates
In reply to: [Meditation] Opacity for the Header Background not workingI’m using the Live Portfolio child of Meditation.
Not sure why it’s not working in Chrome, maybe add a RGBA fallback and see if that gets you your desired results? Here, I’ve added a CSS snippet to your code that sets the white background with a 0.9 opacity. Hope it helps.
.site { opacity: 0.9; /* RGBa with 0.9 opacity */ background: rgba(255, 255, 255, 0.9); }
Internet Explorer 8 and earlier versions do not support the RGBA colors. They use the gradient filter to achieve the effect of RGBA, which is deprecated.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Add menu to headerGlad you’re all good! I would’ve given you that CSS option (and maybe I should’ve), but it seems like every time I post a CSS solution, the OP wants to mess with the code instead. LOL
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Add menu to headerMaybe just add an align to the div?
Go from this:
<div id="site-header-menu" class="site-header-menu">
to this:
<div align="center" id="site-header-menu" class="site-header-menu">
It just may be that simple?
If you want to make any other changes using CSS, check out this page…
WordPress Twenty Sixteen (2016) theme modifications : Change Colors, titles, metas, sidebar, fonts, header, footer, menus etc using css.Add this to the Additional CSS in the customizer:
#masthead { padding-bottom: 12px !important; }
Just adjust the ??px until you get what you want. Maybe change the 12px to 8px? The smaller the number, the smaller the white space.
Good luck.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Do not show sidebar in single!Did you even visit the link I posted? They tell exactly where to go and what to look for, all you have to do is read. Or watch the video. Remove sidebar by editing the php code – VIDEO
For example, in a typical WordPress theme you may need to edit index.php, page.php, single.php, archive.php, home.php and so on.
Open a template file to edit it and then locate the line that looks like this:
<?php get_sidebar(); ?>
If your theme comes with multiple sidebars, then you will see different instances of this code with a sidebar name inside the function. For example:<?php get_sidebar('footer-widget-area'); ?>
Delete the line that represents the sidebar that you don’t want to display.
Now, save and upload the file back to your website. Repeat the process for all template files responsible for displaying different pages on your website.
Once finished, you can go to your website and see it in action.Forum: Themes and Templates
In reply to: [Twenty Sixteen] Do not show sidebar in single!Hope this helps…
Remove sidebar by editing the php codeGood luck.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Do not show sidebar in single!If you want to remove footer credit from the twenty sixteen theme.
.site-info { visibility: hidden !important; }
If you want to remove the author from twenty sixteen theme.
.author { display: none; }
Remove date:
.entry-date { display: none; }
Remove Posted On:
.posted-on { display: none; }
I hope all of this helps…
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Do not show sidebar in single!If you want to remove sidebar from single post page and make the content section centralized, I mean full width single post page in twenty sixteen theme. Also here i showed how to increase post section wide
.single-post #primary { width: 80% !important; margin-left: auto !important; margin-right: auto !important; float: none !important; } .single-post #secondary { display: none !important; }
Same way if you want full width page in twenty sixteen theme, try this code
.page-template-default #primary { width: 80% !important; margin-left: auto !important; margin-right: auto !important; float: none !important; } .page-template-default #secondary { display: none !important; }
I put a link below to the page I favorited/bookmarked for all of my twenty sixteen modifications…all are done using CSS! Bookmark / Favorite this link, you’re welcome! ??
- This reply was modified 7 years, 6 months ago by nahtee.
LOL means “Laugh Out Loud”
Okay, so the category selection is multi-select? Hm, didn’t notice that.
As far as showing post-title only, yep, figured that out. I used the Thumbnail – title, excerpt, then added
.excerpt { display: none }
to the .css. I use the Simple CSS plugin.Thanks for your help! ??
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Link in FooterYou can even expand on that and add as many links as you’d like by simply adding more link codes like so…
<a href="https://my_website.com">My Website</a> | <a href="https://another_website.com">Another Website</a> | <a href="https://and_yet_another_website.com">And Yet Another Website</a>
What you’ll end up with is this: My Website | Another Website | And Yet Another Website
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Link in FooterDownload the footer.php.
Open footer.php in a text editor, like Notepad or Notepad ++
Scroll to the bottom and look for these two line…<span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <a href="<?php echo esc_url( __( 'https://www.ads-software.com/', 'twentysixteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); ?></a>
What you can do is simply overwrite them like this:
Copyright© 2016. All Rights Reserved. <a href="https://my_website.com">My Website</a>
and what you’ll get is: Copyright© 2016. All Rights Reserved. My WebsiteOnce you’re satisfied with the results, save and re-upload it to the child theme.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Link in FooterI’ve noticed that when you add and activate a child theme, you have to RE-customize it. This is why I add a child theme BEFORE any customizing. I use the One-Click Child Theme plugin (it hasn’t been updated in over 2 years, but it continues to work flawlessly…it’s the ONLY child theme plugin I use).
To add a link to the footer, you’ll have to edit the footer.php
If you edit it on the main theme (and NOT a child theme) when the theme gets updated you’ll lose all of the theme file edits. Edit a child theme’s theme files keeps your edits intact even after the main theme is updated.