Need some help with a wordpress theme contact page content.
Am trying to edit it directly from source, it seems to show as a html file. I understand that wordpress runs on php so I've searched quite a number of php files but none include the contents which is showing in the image.
https://imgur.com/a/WlWHz
Read a bit more online and some said that it's saved in the database. Been trying to find it in phpmyadmin too but without much luck. Maybe I'm not looking good enough.
I'm also trying to remove the entire block of code below from the website hakataai.com :
div class="sc_form_address column-1_3"
Please advise if anyone has any ideas.
Many thanks!
You can either search again in your sources because the file is there or you can do one of the following:
1)If you want to remove completelly some content try to use custom css and display: none; your element.
2)If you want to change your content to something else you can also use css (for text purposes i suggest it) and use the :after tag, to display something different on your element.
i.e.: let's say the class you want to change is the sc_form_subtitle:
1) h6.sc_form_subtitle{ display: none;} (will hide the element)
2) h6.sc_form_subtitle::before{ display: none;}
h6.sc_form_subtitle::after{content: " type your text";}
try inspect element on item it will show you the exact place on the code, then go to your filemanager from host view and edit it however you want
Related
I am working on my portfolio website. I just finished working on all the HTML CSS JavaScript and now I want to convert my website to WordPress. So I create my custom theme, create my pages and templates, rename all my .html files to .php and upload evrythin on my server. However, when I go to my site, the content is there (you can see it in the page inspector), but it is invisible for some reason. Only the header (header.php) is visible. I tried reinstalling WordPress on my server, nothing changed. Does anyone have a solution? Thanks! Here is the link: problematic website
You have some console errors that need to be fixed:
Additionally there is CSS hiding the content:
Removing the opacity: 0 reveals the content:
Dang, #mikerojas, you beat me to it. ;)
Just to add a little bit: In the page source you'll see <script src="js/script.js"></script> near the top. It seems the browser looks for the script at https://felixpoirier.ca/js/script.js, and doesn't find it.
You might start out by looking up wp_enqueue_script and see how to solve the problem the WordPress way. Or you could for now double-check the code that's adding the bad link for typos or other mistakes.
You also might at least partially solve the problem by going to themes/customizer/Additional CSS - if they're working for your theme in its current form - and add something like .elementAnimer { opacity: 1 !important } Alternatively, you could just remove the elementAnimer class from the sections it's currently being applied to - the first section and the third. You might then at least get readable output, if not fully animated output as intended.
We have a website built in wordpress using WP forms.
On any page where a contact form appears there is a random _ character on the top left. This character can't be highlighted, can't be selected and doesn't appear in the DOM.
It doesn't appear to be part of any :before, :after css rules which was my first guess.
The anomaly can be found here: https://www.lazyduck.co.uk/contact-us/
Does anyone have any suggestions how to find where it came from, and why we can't inspect it?
There is a :before CSS attribute on the element <li class="choice-1 depth-1">. It looks like it's used for styling, however in the case of this page obviously it's not working very well.
If the problem only exists on the page you linked to, you can disable the box with the following CSS:
.page-id-168 .post-content ul > li:before {
display: none !important;
}
Otherwise you'll need to find a way to disable that CSS across the whole site.
Edit You can inspect the element by right-clicking on it and choosing Inspect in Chrome or Inspect Element in FireFox.
Good afternoon,
I'm having a bit of trouble to remove the following text: By and the brackets before the author's name and the bracket after the date. As in the screenshot below, I already removed the author's name and category.
Screenshot of the example
Looking forward to hearing the feedback
Based on your information, I can't say any more than that you have to look into the plugin it's PHP files. Please provide us more information, yo we can understand your issue way better. Furthermore, you can also hide your object with pure CSS:
<div class="button"></div>
.button {
display:none;
}
Have a look into this: https://www.lifewire.com/display-none-vs-visibility-hidden-3466884
Just go to single.php in your theme and comment out the code there. OR use "Inspect" in browser and add proper styling (display:none) to the class of the corresponding div.
Still stuck, just put the name of the theme you are using.
I'm building a Wordpress site and there is a space between the last content section and the footer (site: http://www.imprero.com/wordpress/graffitx). I inspected the code and reviewed the potential paddings but couldn't figure out where is this space coming from.
In your last mk-main-wrapper-holder -> theme-page-wrapper -> theme-content class you have an empty p tag with margin bottom of 20px. Removing that style or the empty p tag should solve your issue.
You seem to be using a content builder to make your updates easier. Although this is a good, easy-to-use approach, this adds a lot of unwanted pieces of code in your site, which takes your loading time up several seconds.
Anyway, it seems to be caused by a section you added without content. So, check the content you added in your page via WordPress admin and see if you can find any empty content sections in your Content Builder. Preferably, use the "Text" instead of the "Visual" tab if nothing is showing up via your Content Builder visual options.
I think this piece of CSS code is a good workaround, although not the best option (which would be removing the empty section in Content Builder):
#theme-page .mk-main-wrapper-holder:last-of-type .theme-page-wrapper .theme-content p {
display: none;
}
Hope this helps you. :)
I have tried removing the title by all the methods I could find on Stackoverflow and wordpress support such as pacing a css rule and finding the get_title in the page, single and template php files. But this title doesn't seem to want to go away.
The only way I have had any success is by using a plugin that removes the title but then I am faced with the problem that the spacing remains where the title once was.
Here is a picture showing what I mean: http://i.imgur.com/vj0vbc7.jpg
Thanks in advance for your help!
You need to go into your template file and remove where the title is being outputted.
I checked the source code on your site and it looks like the theme files are not in the regular place. So do this. Go to your FTP client and open up:
/assets/956/themes/header.php
It might be named something slightly different.
Now within that theme locate your h1 tag. At this point I would recommend removing it, saving it, and making sure you have the desired change. It should be gone completely from the page. If it's not, perhaps the H1 tag is located in another file? Check other template files till you find the right one.
You can remove it all together or surround it in a div with ID='homepg-h1' Then just do a rule like this in your CSS:
#homepg-h1 {
display:none;
}
Hope that helps, let me know if you have any questions.