Link to home
Start Free TrialLog in
Avatar of doctorbill
doctorbillFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Wordpress Post details

I need to get rid of the details on the attached page - the post date, name details
There are a number of pages which have these details on and I need to get rid of them on all the pages
It is a Wordpress site

This is a possibility but I am reluctant to add it in case I can't undo it - I don't want to break the site:

/* Remove metadata */
.entry-meta .byline, .entry-meta .cat-links { display: none; }
.entry-meta .posted-on { display: none; }

Any ideas anyone
Capture.PNG
Avatar of Robert Granlund
Robert Granlund
Flag of United States of America image

You should find the template that holds this html and move it into your child theme and remove it.  Do a code search for "posted-on" and you will find the template.  In the meantime, your mentioned method will work.
Avatar of doctorbill

ASKER

Where do I do the search from
Also, if I use the code above, can I undo it from the theme gui or will I need to locate it in a file
You can place that code in the CSS file.  Can you please send a URL?  Also, what theme is being used?  Can you confirm that you are using a child theme?
Bridge Child
In your dashboard do you see: Qode Options>General>Css.
I see Quode Options > General > Custom CSS
Put this at the bottom of that file and save:

/* Remove metadata */
.entry-meta .byline, .entry-meta .cat-links { display: none; }
.entry-meta .posted-on { display: none; }
Will try and let you know
Do I put it in the custom css field?
Just tried it - makes no difference at all
Please advise
Do I need to edit the original css file as well as add the script?
Anyone there?

Can you send a url, please?
Do you have access to the site files - the child theme? What editor do you use?  I believe the easiest way is going to change the template.

What editor do you use?  Search the theme for: post_author.  That way you can find the theme template that holds the post author info.  The way you posted at the beginning does not work nor will it.
How exactly do I search in the theme - using the file manager in cpanel?, in wp-admin?

vc_gitem_post_author.php

This is all I could find
I used the development tools to inspect the page and managed to get these details
I know this is the correct page because if I delete the relevant css in the page the headings vanish - excellent
Problem: PLEASE PLEASE tell me how to locate this page in the WordPress site using either WP-Admin or Cpanel file manager
I need to be able to edit it and save the edits
I just cannot locate it

User generated image
ASKER CERTIFIED SOLUTION
Avatar of Robert Granlund
Robert Granlund
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
.blog_single .post_text h2.entry_title, .blog_single .post_text .post_info { display: none; }
That did it !!!!!!
Thanks so much for your persistence in this - awesome !!!!!



No worries.  I am glad that I could help.
I have a new question to ask:
Obviously this will be a completely separate question and will add new points
Take a look at the following on a pc in chrome (for example):

https://tr-projectsgroup.com/why-tr/
On a pc the page displays correctly
On a mobile device (I am using an emulator) it displays in the following way - all the text is in overlay mode
Do you have any idea how I can fix it - the theme is Bridge Child as above
I would really appreciate your help on this

User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That got  it
Once again - thanks for the solution
Spot on
Been on this for ages
What exactly is the CSS doing?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perfect
Once again - thanks for the solution
Not sure how I award points for this
I want to give full points