Forum Replies Created
-
AuthorPosts
-
Great, as always many thanks for your help.
Thanks Yigit, one more thing this text should be grey not blue
The bold issue is inside the toggled item below lunch
http://dentists.admin.theimplantcentre.com/wp-content/uploads/sites/4/2015/04/Screen-Shot-2015-04-30-at-13.39.46.pngThat’s great many thanks but the text in the toggled open windows below lunch are still bold & I still have the strange gap after lunch
http://dentists.admin.theimplantcentre.com/wp-content/uploads/sites/4/2015/04/Screen-Shot-2015-04-30-at-13.28.27.pngP.P.S. actually looking at it more closely all the text after lunch (and the gap) is in bold, both in the heading and the text in the drop down. They should all look like the ones above lunch i.e. the only thing in bold is the lecture heading.
Sorry it should have said …. Plus the times after lunch are bold when they shouldn’t be.
Many thanks Elliott
I’ve got a strange gap after ‘Lunch’ which shouldn’t be there. Plus the times after lunch are bold when they should be.
Also is it possible to make some of them not accordion i.e. they can’t be clicked on e.g. the various breaks in the day (1, 3, 6 & 9).
Many thanks
Thanks Josue
The menu now work if I hover over the line below wording but NOT when I hove over the word in the menu. I’ve tried reducing the max-height down to 100 & 80 px but it doesn’t make a different. Any ideas?
Thanks Ismael. I have an issue that the menu on http://dentists.theimplantexperts.com/, since adding the graphic it’s not working. Everything I click links bank to the patient site so the graphic has clearly overlaid the menu. Please can you look into this asap.
Thanks Ismael, it’s now displaying and clicking through ok. Is there anyway of improving the way it looks on a mobile device? …if not, I’d prefer it to disappear when it gets down to mobile size.
Following my last message I’ve tweaked the code and I’ve now got the correct image appearing on http://theimplantexperts.com/ and it links through to the dentist site. BUT, there’s still nothing appearing on the dentist site?
Thanks Ismael
I have loaded the code into the ‘enfold’ folder on the server and removed the old code from the functions.php files in the two child folders see this image http://theimplantexperts.com/wp-content/uploads/2015/02/Screen-Shot-2015-02-19-at-12.43.45.png
An image has appeared on the patient site http://theimplantexperts.com/ but it’s the wrong one, it should be the blue ‘Dentist site’ button, plus it also doesn’t link through to the dentist site.
No image has appeared on the dentist site http://dentists.theimplantexperts.com/
I have to say I’m very confused. This is what my server chap has said:
The TIE site is actually running wordpress in the multisite config. Which means the sites share things like control panel and themes.
If you’re changing the functions.php in the these you’ll probably have to create a child theme otherwise the change will arrive in both. Or possible use an IF statement in the so that it changes the output based on site called.
By the sounds of it you may have already created the child theme as you say there are two functions.php. Are you sure the theme is activated on the site?
functions.php should load from the child theme as well as it’s parent. http://codex.wordpress.org/Child_Themes#Using_functions.php
Does this make any sense to you?
Thanks for trying to help Josue. Yes I believe you are correct the enfold-child relates to the patient site and the enfold-child-dentists relates to the dentist site. I’ve added the new code you’ve just provided to the appropriate functions.php file in the enfold-child & enfold-child-dentists folders.
There is another folder under themes on the server; ‘enfold’ which I believe holds the files for both sites. There was some code in the enfold functions.php which I believe was placing the image on both sites. I removed this code from the functions.php file in the enfold folder, but there are now no images on either site. The new code I’ve placed in the two child functions.php files clearly isn’t being picked up.
I believe I should remove the code from both the functions.php files in the child folders and insert two sets of code in the functions.php file in the enfold folder on the server as this seems to be influencing both sites.
One set of code telling…
the secondary-logo on http://theimplantexperts.com (OBVIOUSLY NOT RIGHT!)
</div>’;
}and the second set of code telling…
the secondary-logo on http://dentists.theimplantexperts.com (OBVIOUSLY NOT RIGHT!)
</div>’;
}Does this make any sense at all or am I talking rubbish??
Rupert
Thanks Ismael
I have got two versions of WP on the server one for the patient site and one for the dentists.
There are 3 folders in the Theme folder on the server:
enfold
enfold-child
enfold-child-dentists
I’ve checked the functions.php files in both the child folders and they match the code you provided. There is also this code in the ‘enfold’ functions.php file:add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”>
</div>’;
}Please can you clarify what I need in all three functions.php files. They both have the same css.
This reply has been marked as private.This reply has been marked as private.I’ve added it to the functions.php file in the enfold-child-dentists folder on the server but it’s not worked. Nothing is displaying now! http://dentists.theimplantexperts.com/
Thanks Ismael
I now have the correct image displaying in the correct position and linking through to the dentist site on http://theimplantexperts.com/
But I now need to get the correct image http://dentists.theimplantexperts.com/wp-content/uploads/sites/2/2015/01/TIE_WebHeader_Patientslink1.png, in the correct position (i.e. flush with the top of the site) and link back to the patient site on http://dentists.theimplantexperts.com/
Thanks Ismael
I’ve got the image appearing correctly on the patient site http://theimplantexperts.com/, but it’s not clickable and linking to the dentist site plus I want it flush with the top of the page.
The same image is appearing on the dentists site http://dentists.theimplantexperts.com/ whereas I want the other image linking back to the patient site http://dentists.theimplantexperts.com/wp-content/uploads/sites/2/2015/01/TIE_WebHeader_Patientslink1.png, plus also flush with the top of the page.
I’m not sure I understand what you mean! I haven’t deleted the image and I have changed the code to include the png in each case.
I have now got this code in the functions.php in the enfold folder:
add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”></div>’;
}I’ve also got the same code in the functions.php file in the enfold-child folder, and the following code in the functions.php file in the enfold-child-dentists folder:
add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”></div>’;
}This is how the PNG looks is this ok? http://theimplantexperts.com/wp-content/uploads/2015/01/Screen-Shot-2015-01-22-at-11.14.24.png
My folders on the server are configured as follows:
http://dentists.theimplantexperts.com/wp-content/uploads/sites/2/2015/01/Screen-Shot-2015-01-21-at-08.47.39.pngI’m trying to put image http://theimplantexperts.com/wp-content/uploads/2015/01/TIE_WebHeader_Patientslink.png in the header of http://theimplantexperts.com/ and http://dentists.theimplantexperts.com/wp-content/uploads/sites/2/2015/01/TIE_WebHeader_Patientslink.png in the header of http://dentists.theimplantexperts.com/ and link each one to the other site.
I’ve currently got no additional code in the functions-enfold.php file but I have now got this code in the functions.php in the enfold folder:
add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”></div>’;
}I’ve also got the same code in the functions.php file in the enfold-child folder, and the following code in the functions.php file in the enfold-child-dentists folder:
add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”></div>’;
}Where am I going wrong?
I’ve done that in both function.php files but still no luck, I’m clearly doing something wrong!
Thanks Ismael
I’ve saved the two images as .pngs and added their urls into the script in the functions.php plus added the above code you supplied into the Quick CSS in both sites but neither are appearing plus I’ve also lost the main menu on http://dentists.theimplantexperts.com/
http://dentists.theimplantexperts.com/wp-content/uploads/sites/2/2015/01/TIE_WebHeader_Patientslink.png
http://theimplantexperts.com/wp-content/uploads/2015/01/TIE_WebHeader_Patientslink.pngThe image has moved over to the correct position on the right but neither sites are displaying the correct image (i.e. with the ‘dentist site’ or patient site’) or are linking through to the other site.
Ignore the last message.
I’ve removed the header image file from the quick CSS in both the patient & dentist sites.
I’ve got it to appear by adding the code to functions.php in enfold-child and it works (i.e. clicks through to the dentist site) on the patient site but it’s in the wrong position. http://theimplantexperts.com/ I want the right hand edge of the image to line up with the right hand side of the magnifying glass. I’ve also changed the image it’s suppose to be selecting but it’s not displaying it. This is the code I’ve inserted into functions.php:
add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”></div>’;
}I’ve also added the following code to the functions.php in enfold-child-dentists but it’s not displaying the image I’ve chosen, it’s also in the wrong position and it’s not linking through to the patient site.
add_action(‘ava_after_main_menu’,’custom_things’);
function custom_things() {
echo ‘<div class=”secondary-logo”></div>’;
}Many thanks for your help.
When you say the functions.php file inside the Enfold Folder are you talking about on the server?
I have three enfold folders in the theme and each one has a functions.php file; enfold, enfold-child & enfold-child-dentist, which I’m assuming are network, patient & dentist respectively. Which one/s should I add the code to?
This reply has been marked as private.Thanks Andy, I know how to get the image there because I’ve done it on this site http://dentists.theimplantexperts.com/.
The link you provided didn’t explain how to add a link to the image?
…I’m assuming/hoping they will work properly on tablets and mobiles!?
-
AuthorPosts