How do i hide date section from my post page?
up vote
1
down vote
favorite
Hi everyone i want to hide date from my AD section (http://prntscr.com/lgsb8), i tried few CSS codes with inspect element but they seems to be not working.
Any one please check and provide me correct CSS code to hide or remove this from page.?
html css wordpress
add a comment |
up vote
1
down vote
favorite
Hi everyone i want to hide date from my AD section (http://prntscr.com/lgsb8), i tried few CSS codes with inspect element but they seems to be not working.
Any one please check and provide me correct CSS code to hide or remove this from page.?
html css wordpress
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Hi everyone i want to hide date from my AD section (http://prntscr.com/lgsb8), i tried few CSS codes with inspect element but they seems to be not working.
Any one please check and provide me correct CSS code to hide or remove this from page.?
html css wordpress
Hi everyone i want to hide date from my AD section (http://prntscr.com/lgsb8), i tried few CSS codes with inspect element but they seems to be not working.
Any one please check and provide me correct CSS code to hide or remove this from page.?
html css wordpress
html css wordpress
edited Nov 11 at 1:44
asked Nov 10 at 21:08
chbary
83
83
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
You can use nth-child to achieve this.
.short-features div:nth-child(3){
display: none;
}
Here you have some information about it, let me know if that helps.
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
|
show 3 more comments
up vote
0
down vote
You can change the date display in the theme editor by commenting out this code in your template:
<?php the_time('F j, Y'); ?> at <?phpthe_time() ?>
do this:
<!--<?phpthe_time('F j, Y'); ?> at <?phpthe_time() ?>-->
these will leave the code intact in case you ever want to put the date back in. As long as the code is commented out the date will not appear on the live page.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You can use nth-child to achieve this.
.short-features div:nth-child(3){
display: none;
}
Here you have some information about it, let me know if that helps.
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
|
show 3 more comments
up vote
1
down vote
accepted
You can use nth-child to achieve this.
.short-features div:nth-child(3){
display: none;
}
Here you have some information about it, let me know if that helps.
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
|
show 3 more comments
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You can use nth-child to achieve this.
.short-features div:nth-child(3){
display: none;
}
Here you have some information about it, let me know if that helps.
You can use nth-child to achieve this.
.short-features div:nth-child(3){
display: none;
}
Here you have some information about it, let me know if that helps.
edited Nov 10 at 21:43
answered Nov 10 at 21:15
MartinBA
706113
706113
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
|
show 3 more comments
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Hi thanks for code, i added the code you provided me in my custom css. but this code seems to be not working. :(
– chbary
Nov 10 at 21:21
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
Can you provide the css you are using?
– MartinBA
Nov 10 at 21:22
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
using this css: .short-features:nth-child(2){ display: none; } screenshot: prntscr.com/lgsk5f
– chbary
Nov 10 at 21:24
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Sorry, I mean your custom css.
– MartinBA
Nov 10 at 21:25
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
Full custom css code: .short-history li:first-child { display: none; } .ad-archive-desc .last-updated { display: none; } .short-features:nth-child(2){ display: none; }
– chbary
Nov 10 at 21:31
|
show 3 more comments
up vote
0
down vote
You can change the date display in the theme editor by commenting out this code in your template:
<?php the_time('F j, Y'); ?> at <?phpthe_time() ?>
do this:
<!--<?phpthe_time('F j, Y'); ?> at <?phpthe_time() ?>-->
these will leave the code intact in case you ever want to put the date back in. As long as the code is commented out the date will not appear on the live page.
add a comment |
up vote
0
down vote
You can change the date display in the theme editor by commenting out this code in your template:
<?php the_time('F j, Y'); ?> at <?phpthe_time() ?>
do this:
<!--<?phpthe_time('F j, Y'); ?> at <?phpthe_time() ?>-->
these will leave the code intact in case you ever want to put the date back in. As long as the code is commented out the date will not appear on the live page.
add a comment |
up vote
0
down vote
up vote
0
down vote
You can change the date display in the theme editor by commenting out this code in your template:
<?php the_time('F j, Y'); ?> at <?phpthe_time() ?>
do this:
<!--<?phpthe_time('F j, Y'); ?> at <?phpthe_time() ?>-->
these will leave the code intact in case you ever want to put the date back in. As long as the code is commented out the date will not appear on the live page.
You can change the date display in the theme editor by commenting out this code in your template:
<?php the_time('F j, Y'); ?> at <?phpthe_time() ?>
do this:
<!--<?phpthe_time('F j, Y'); ?> at <?phpthe_time() ?>-->
these will leave the code intact in case you ever want to put the date back in. As long as the code is commented out the date will not appear on the live page.
answered Nov 10 at 21:40
user116217
12
12
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243420%2fhow-do-i-hide-date-section-from-my-post-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown