ThePixelMe
Forum Replies Created
-
@cmurway No problem. If you need help on those other items, feel free to create another topic and use the tag @thepixelme to notify me about it. I’d be glad to help.
As for this topic though, if the issues in the original post have been resolved, could you please mark this topic as resolved? Thank you very much!
In your admin panel, go to Appearance –> Customize.
Then in the customize menu, click on Additional CSS, which will bring out a box where you can copy-paste the code below into that box.
Copy-paste the codes below into that Additional CSS box and hit Save & Publish.
/** * to apply these to light version, * just remove .colors-dark class * from the codes below */ /* make entire page has no background */ body.colors-dark, .colors-dark .site-content-contain { background: none; } /* make main header section has no background */ .colors-dark .site-header { background: none; } /* make main footer has no background */ .colors-dark .site-footer { background: none; } /* remove background from .site-content */ .site-content { background: none; } /* add image background to page */ #page { background-image: url("/wp-content/uploads/2017/01/background.png"); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; }See if that works for you.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Remove date in TwentySeventeencan you tell me how I can remove the date in the posts ?
You can add this to your custom CSS or child-theme CSS:
/* remove dates in posts */ .entry-meta .entry-date { display: none; }- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: spacing
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Change max columns width@joola No problem, glad to know that it worked out.
Before you leave though, could you please mark this topic as “resolved”?
Thank you very much!
Anyrecommendations/ suggestions on how to make header/ footer color transparent?
seems to be two pages css and dark color theme and cannot for the life of me figure it out.I think you’re probably stuck because you’ve applied the background image to the wrong class.
I explained a bit about this mix up near the end of this post, and the actual ID/class that the background image should have been applied to.
/** * to apply these to light version, * just remove .colors-dark class * from the codes below */ /* make entire page has no background */ body.colors-dark, .colors-dark .site-content-contain { background: none; } /* make main header section has no background */ .colors-dark .site-header { background: none; } /* make main footer has no background */ .colors-dark .site-footer { background: none; }And in case you want the main nav to have no background as well, add this:
/* make main-nav has no background */ .colors-dark .navigation-top, .colors-dark .main-navigation ul { background: none; }You’ll probably notice that the header and footer are now showing a white color instead of the image.
That’s because the image is applied to the
.site-contentclass; that’s the wrong class if you want the background image to show on the entire page.You need to apply your background image to either the
#pageID or.siteclass./* remove background from .site-content */ .site-content { background: none; } /* add image background to page */ #page { background-image: url("/wp-content/uploads/2017/01/background.png"); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; }- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: point clarification
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: added light-theme comment and some clarification
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: fix spelling mistakes
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Change max columns widthSaw your site, thanks. You can use this in combination with the codes I’ve provided earlier:
.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary { max-width: 100%; }This block of code makes it so that the
.wrapcode that I provided in the earlier post also controls the width of your site’s one-column layout.- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: changed some words for clarification
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: bolded important word
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Change max columns widthIn that case, could you please give us a link to your site so we can see what you’re trying to change?
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Change max columns width.wrapcontrols the total width of the content column and the sidebar column. If you want to change the width of just the content column or just sidebar, then you’ll need to target different classes.Anyhow, these are for
.wrap:Going by default, at screen width from 0 to 767px, you can use this:
.wrap { max-width: 720px; }And once again going by default, at screen width above 767px, you will need to use this:
@media screen and (min-width: 48em) { .wrap { max-width: 1200px; } }Change the max-width number as needed.
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: explained a bit about .wrap class
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: removed duplicated words
I downloaded the plugin “Advanced twenty Seventeen” to see whether this would let me edit the menu (which it did not?), and I think that the plugin created a child theme for me?
Okay, so we’re going the plugin route, and you already have a working child theme created by Advanced Twenty Seventeen plugin.
This looks more complicated than it is; it’s actually pretty simple.
Step 1. Install WP Editor
- Go to Plugin –> Add New –> search for WP Editor –> install and activate it.
- Screenshot: http://i.imgur.com/oPHja9Q.png
Step 2. Grab the
navigation-top.phpfile from the original Twenty Seventeen theme.- Go to Appearance –> Theme Editor –> at where it says Select theme to edit, choose Twenty Seventeen and hit Select button.
- Still on that page, look under Theme Files, click on template-parts –> navigation –> navigation-top.php.
- Still on that page, make sure
navigation-top.phpfile is selected (click on it) –> hit the Download File button. - Screenshot: http://i.imgur.com/7Ehbk5D.png
Step 3. Upload
navigation-top.phpto your child theme’stemplate-parts/navigation/directory.- Go to Appearance –> Theme Editor –> at where it says Select theme to edit, choose Advanced Twenty Seventeen Child and hit Select button.
- Still on that same page, under Upload Files, in the box right below it, type in
template-parts/navigations/–> then hit Choose File button –> choose thenavigation-top.phpfile that you’ve previously downloaded –> hit Upload File button. - Screenshot: http://i.imgur.com/YD5fJpt.png
Step 4. Edit Menu text in
navigation-top.phpfile to whatever text you want.- Go to Appearance –> Theme Editor –> at where it says Select theme to edit, choose Advanced Twenty Seventeen Child and hit Select button.
- Still on that page, under Theme Files, click on
template-parts–>navigation–>navigation-top.php - Still on that page, with
navigation-top.phpselected, look for_e( 'Menu', 'twentyseventeen' ); ?></button>line of code –> edit that Menu text to whatever you want — then hit Update File button to save. - And we’re done!
- Screenshot: http://i.imgur.com/CM7EQUq.png
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: formatting
- This reply was modified 9 years, 2 months ago by ThePixelMe.
- This reply was modified 9 years, 2 months ago by ThePixelMe. Reason: Add screenshots to li list
Try removing that
endif;line. We didn’t start an “if” statement; we have no need to “end” something that didn’t exist in the first place.And make sure that your child theme’s style.css is properly setup as well.
- This reply was modified 9 years, 2 months ago by ThePixelMe.
Do you know how to properly create a child theme and uploading it to your host?
I’m asking because we want to create a child-theme then edit a file call
navigation-top.phpinside the child theme, then upload the child theme to your server, then activate it.We can either do it via plugins right on your website or we can do it via manual coding right on your computer (which will require you to upload the files to your server once we finish). Let me know and I’ll provide further instruction, thanks!
Forum: Themes and Templates
In reply to: [Graphy] Change Sub-menu Font Color on Mobile@leisureinstalls That’s because you’re using a different theme. The original poster was using Graphy theme; so the code I originally posted a year ago was tailored to that theme.
You’re using Storefront theme; so the code will be different. I would suggest you post a new thread in Storefront theme’s forum; that way you’ll get codes tailored to Storefront theme.
- This reply was modified 9 years, 2 months ago by ThePixelMe.
Forum: Themes and Templates
In reply to: [Tesla] Remove Title Tag from Blog and Single PostIf you don’t mind a bit of CSS, then you can use this:
/* Don't display page titles */ .titleContainer.titlePage .title { display: none; }Forum: Themes and Templates
In reply to: I need HELP to change Logo SizeYou can do
.site-logo { width: 200px !important; }Margin-bottom is the spacing at the bottom. It has nothing to do with size.