"I'd like to hide the date on that page only:
-
“I’d like to hide the date on that page only: https://wordpress.com/stats/day/axisconsultancy.org ”
The blog I need help with is: (visible only to logged in users)
-
We spoke on live chat and I believe this is the page he wants to hide the date on:
-
This code should work. You will add it under Customize>CSS. You can find the customizer by hovering over your “my sites” link while viewing your site:
#post-277 div.post-meta-item{ display:none; } -
Did that code sample work out for you? Happy to take a closer look if not. :)
-
Hi Jerry, sorry I just found your post.
It is still showing. The date:
http://axisconsultancy.org/portfolio/talentgericht-slim-inrichten-en-borgen/ -
Hi @axisconsultancy, you originally asked to hide the date on this page only: https://wordpress.com/stats/day/axisconsultancy.org, and then @spencerwberry mentioned this page: http://axisconsultancy.org/portfolio/event-incompany/, and you have mentioned a different page in your latest reply above. If you wish to hide the date from all portfolio pages, you can use the following CSS:
.single-jetpack-portfolio .post-meta .post-meta-item:first-child { visibility: hidden; } .single-jetpack-portfolio .post-meta .post-meta-item .post-meta-title { visibility: visible; }Give that a try and see if that does what you are wanting. Since both the categories and the title/date have the same CSS class, I’ve use the :first-child pseudo class to hide the date and title and then brought back the title.
-
Hi thesacredpath,
you figured it out! And it is working!
For lay-out sakes. See the portfolio page
http://axisconsultancy.org/portfolio/talentgericht-slim-inrichten-en-borgen/There is a kind of black box and it says placed (“geplaatst” in dutch) can you find a way to make that disappear also?
-
Great! instead of the above use the following which will remove the black format icon and the date/title. See what you think.
.single-jetpack-portfolio .post-meta .post-meta-item:first-child { display: none; } .single-jetpack-portfolio .format-icon { display: none; } -
Maybe you know also the below one?
Who can help?
#primary {float: right;}
#secondary {float: left;}Is the code to get the side bar from right to left.
But then it makes a mess from the portfolio lay-out.
See:
http://axisconsultancy.org/portfolio/The blog I need help with is axisconsultancy.org.
-
What you will need to do is to target all page types using body classes for those page types, and not include the portfolio page type. Give the following a try and let me know if that gets you what you want. Make sure and .
.blog #primary, .page #primary, .category #primary, .tag #primary, .single #primary { float: right; } .blog #secondary, .page #secondary, .category #secondary, .tag #secondary, .single #secondary { float: left; } -
GREAT!!
Another one! The title is now centred to the left. Can you make it to the right? or centered. Is there a CSS code?
-
The following will right align all titles on static pages.
.page .entry-title { text-align: right; }If you wish to center them, then change the text-align: right; to text-align: center;
-
-
-
Hi thesacredpath,
Something is not in line. See the link below.
http://axisconsultancy.org/portfolio/The CSS which is copyed zee below. What could be wrong?
.post-type-archive-jetpack-portfolio .page-header {
display: none;
}.sidebar .widget {
padding: 0 1rem .5rem;
}.slideshow-window {
background-color: transparent !important;
border-color: transparent !important;
}#secondary {
background-color: rgb(211,221,221);
padding-top: 20px;
}#primary {
float: right;
}#secondary {
float: left;
}.single-jetpack-portfolio .post-meta .post-meta-item:first-child {
display: none;
}.blog #primary, .page #primary, .category #primary, .tag #primary, .single #primary {
float: right;
}.blog #secondary, .page #secondary, .category #secondary, .tag #secondary, .single #secondary {
float: left;
}.page .entry-title {
text-align: center;
}.single-jetpack-portfolio .format-icon {
display: none;
} -
Hi, it is this in your custom CSS that is causing the issue.
#primary { float: right; }If you remove that, the portfolio page returns to normal.
-
-
- The topic ‘"I'd like to hide the date on that page only:’ is closed to new replies.