I'm using the Divi theme in WordPress. I've been working on 2 websites that are similar and both have the same code in header.php (I copied and pasted it).
It works fine on one website and not on the other. Does anyone know what could be causing this?
Thanks
You should tell us more details, for example show us links of your pages, or which part of your code you think is the problem. If you copied and pasted it double check the classes and id, is your css same in both websites?
Related
I seen this logo slider on a lot of websites and i need help to either locate where to get it or any ideas to make it.
I tried to look through the sourcecode and can't how it is made.
I guess it is some sort of plugin or theme but not sure?
Example of one of the websites: https://www.webfx.com/
I am using the plugin Photo Gallery on my WP site and have a CSS issue with it. Before the gallery is displayed correctly, it is displayed for a split second in a different way.
From what I found out, this is apparently a "FOUC" (Flash of unstyled content) and caused by the plugin's CSS file being loaded too late.
Now I was able to fix it by adding a CSS class (.invisible) to the whole gallery in the plugins php code and setting that class in the wordpress style.css to "display: none;".
In my themes JS I then check if there is a photo gallery on the page and once the according CSS file is loaded, I remove the .invisible class from the gallery, so it is displayed correctly.
I am aware that this is not really a good solution, as the next plugin update will break it.
So my question is: What is a better way to fix an issue like this?
Probably the best bet would be to reach out in the support forums and let the plugin authors know that there is a problem. You already have a working fix for that problem so don't hestitate to show them your solution (but i dont think that hiding the slider is a good solution).
All plugins in the WordPress plugin repository have a support forum on wordpress.org … many plugins also have own websites with some kind of support mechanism (forum, contact form …).
Another solution would be to place the code that fixes the plugin not in the plugin folder itself but in you theme/child theme or a own plugin …
A few of the pages on my organisation's website are displaying code - not real code - just nonsense code, like this:
���ْG�(�,��?���fUH쵲اDQj�������he $�#B�.
Go to http://www.eavi.eu/about-us/ for an example or check the image here:
I have emailed Avada's support, but I was wondering if anyone has encountered anything similar in the past and might be able to help.
I removed the Tiny MCE editor plugin and this fixed everything.
It seems there is an issue with the Avada theme and this plugin which I confirmed with someone else.
I am using the premium responsive theme in Drupal 7 to create a site. In the theme the front page has a slideshow on it. Is it possible to make the slideshow appear on the top of every page?
EDIT
So I was messing around with this a little more and I tried bringing the code into page.tpl.php so that it would appear on all pages, but nothing happened. I then tried doing it on the maintenance.tpl.php page, and still nothing happened. Any ideas out there?
It seems like we're working on a similar problem, but since you helped answer my question I thought I'd help you out. In the templates folder you have to create a new page--front.tpl.php (which I'm sure you have), and put it the code from this website:
Go Here
This will make your front-page unique, and you can copy the similar code to your page.tpl to make changes to the remaining nodes.
I am looking for a tutorial on how to style my word press (hosted on word press) blog to look like my businesses home page. I would like the links to work and look the same. The site isn't completely styled in CSS, but can maybe move more of the styling to css from the HTML. Can someone point me in the right direction where I need to start.
Thanks,
If I'm not mistaken, isn't there an upload theme section at wordpress.com? Anyways, you'll need to zip up your theme (after you make it) and upload it there. Also, here's a tutorial for making a basic theme.
http://themeshaper.com/wordpress-themes-templates-tutorial/
(that's not my blog by the way)