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.?










share|improve this question




























    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.?










    share|improve this question


























      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.?










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 at 1:44

























      asked Nov 10 at 21:08









      chbary

      83




      83
























          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.






          share|improve this answer























          • 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




















          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.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            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

























            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.






            share|improve this answer























            • 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

















            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.






            share|improve this answer























            • 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















            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.






            share|improve this answer














            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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




















            • 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














            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.






            share|improve this answer

























              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.






              share|improve this answer























                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.






                share|improve this answer












                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 10 at 21:40









                user116217

                12




                12






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Florida Star v. B. J. F.

                    Error while running script in elastic search , gateway timeout

                    Adding quotations to stringified JSON object values