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.
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.
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
I've been looking for the answer I seek in many posts before. But none of them worked for me.
I'm learning CI currently and want to implement it with admin panel template called Clip-Two. I will give brief explaination about my problem.
Problem : In some of my pages the CSS works fine, however in some of the pages the partially loaded.
Below is my controller called Users.php
Users.php
Within this controller, i have two functions, mainly the first one is for index, and the second one is when i want to create a user.
In the first function, the CSS works fine. All the required CSS files are loaded shown below.
Index.php
However, in the second function, which have a new page, it only load partially of the whole CSS files.
Create.php
Below is my header template
header.php
The one that I highlight is the CSS file that doesnt loaded properly.
When I inspect the elements, the file path is wrong, shown below.
Elements
Below is my config file on base_url().
Base_url()
So, I'm confused, is it my base_url() went wrong or is it something else. Any help will be appreciated. Thanks in advance!.
Sorry I made a very long post, i just want everybody have a clear picture of my problem.
EDITED
I'm using admin template from Clip-Two
Below is the console error shown on my page.
Sorry I think my post is a bit misleading, I have edited my title and my problem
Problem : the jQuery from the template have the theme selector, so basically the jQuery could not find the path.
It shows that jQuery could not find the path.
Is this my problem lies on the jQuery?
Are you sure you are not manipulating with that stylesheet using JavaScript? (You have an id identifier on tag.)
Also, insted of <?php echo base_url()?>, try <?=base_url()?> it takes way less space.
I've used a modified themeforest template for a single php page and have an issue where the navigation links that take you to the various unique id's on the page are working fine but cut off the top part of the section h3 that it has linked to.
It's a positioning problem for sure and most likely to do with the modifications I made to the flex-slider that the template included.
But I can't determine how to adjust the css (or script) to correct the issue.
For example, the site is http://goudkamp.stacklaw.com.au/ and when you click Services, you can see what I mean.
I have the template on the site as well so you can see how it SHOULD work - http://goudkamp.stacklaw.com.au/v2/template/.
I came across another article that suggested using the script
if(window.location.hash.length){
$(window).scrollTop($(window).scrollTop() - 100);
}
However, I don't think I should need it when the template works perfectly.
I just don't know where to start looking to make the necessary adjustments.
Please help!
Thanks in advance
Wait - I found it!
After looking at the suggestion on the other article, it made me think that it must be done in the theme's custom scripts. So I looked in the custom.js file for any script that referenced the main nav.
There was an "offset" line with the markup "//use this to position the window exactly where you want". Testing a small change to this had the desired effect.
Thanks anyway.
I sort of feel like a moron for asking this but I've been stumped on this question for about 2 days. On a website I'm trying to put together, http://gravenimage.us/awf/ , the sidebar, which I want to be on the right in the main content area, is showing up at that bottom. I've tried adjusting the max-width, css align, css display, and a bunch of other things. I've gotten the sidebar to move around a little bit but that's it. I'm pretty sure the issue is that the main content is fixed to a certain width, and it's supposed to be flexible for when the sidebar is called, but that's just not happening. Any ideas? I'd really appreciate some assistance.
http://www.gravenimage.us/awf/screenshot.png
Check your page / post copy... make sure to view HTML mode and not the visual mode,
check for any rouge opening or closing div tags that may be there,
when you copy paste content into the visual editor, most of the time any html content will be pasted in there also..
or check the theme /page.php file, looks like the sidebar is being pulled in the content div, messing up the rest of the layout!
check for any instance of...
<?php the_content();?>
<?php get_sidebar();?>
good luck..