doctorbill
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
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
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.
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
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?
ASKER
Bridge Child
In your dashboard do you see: Qode Options>General>Css.
ASKER
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; }
/* Remove metadata */
.entry-meta .byline, .entry-meta .cat-links { display: none; }
.entry-meta .posted-on { display: none; }
ASKER
Will try and let you know
ASKER
Do I put it in the custom css field?
ASKER
Just tried it - makes no difference at all
ASKER
Please advise
ASKER
Do I need to edit the original css file as well as add the script?
ASKER
Anyone there?
Can you send a url, please?
ASKER
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.
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.
ASKER
How exactly do I search in the theme - using the file manager in cpanel?, in wp-admin?
ASKER
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
.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 !!!!!
That did it !!!!!!
Thanks so much for your persistence in this - awesome !!!!!
No worries. I am glad that I could help.
ASKER
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
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
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That got it
Once again - thanks for the solution
Spot on
Been on this for ages
What exactly is the CSS doing?
Once again - thanks for the solution
Spot on
Been on this for ages
What exactly is the CSS doing?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect
Once again - thanks for the solution
Once again - thanks for the solution
ASKER
Not sure how I award points for this
ASKER
I want to give full points