Tagged: custom image, header
-
AuthorPosts
-
April 8, 2015 at 2:00 pm #425282
Hi guys, many moons ago you helped me position an image above a header. Which can be seen here (it’s the image above the menu on the right (LEEA etc))
http://catenais.co.uk/wordpress/products/
I need to change this image, so I edited the quick css –
nav.main_menu {
background-image: url(http://catenais.co.uk/wordpress/wp-content/uploads/2015/04/quality-marks-v2-300×85.jpg);
background-size: auto 60px;
background-repeat: no-repeat;
background-position: 50% 0;
}However, it appears that this code is not doing anything and if you use the google inspector you see a div called my-custom-image.
I cannot find where that was defined to replace the image being used.
Kevin.
April 8, 2015 at 8:12 pm #425552Hey CoolPenguinSays!
Your not using a child theme and I didn’t see anything in your functions.php file. You’ll need to go through your old topics (click on account overview) and find where we helped you add that into your header.
Also, your using a very old version of Enfold. It would be best to update WordPress and Enfold to the latest versions.
Regards,
ElliottApril 8, 2015 at 8:54 pm #425585Hi guys, I’ve updated Enfold and WordPress and now I have lost the image above the header image totally.
The last thread about this issue is here –
https://kriesi.at/support/topic/fix-the-bread-crumb-bar-part-2/
(which links to part 1)
Both Yigit and Ismael worked on this.
I just need to know when they logged in where they addrd that code. but now we’ve done the update is it lost?
April 8, 2015 at 8:56 pm #425589PLEASE READ
Sorry Elliot I gave you the wrong link –
https://kriesi.at/support/topic/static-home-page-not-working-edit-above-header/
April 9, 2015 at 10:36 am #425810Hi!
Could you start by checking the url for your image, it takes me to a 404 page: http://catenais.co.uk/wordpress/wp-content/uploads/2015/04/quality-marks-v2-300%C3%9785.jpg
Regards,
RikardApril 9, 2015 at 12:17 pm #425853Odd it should be this, I’ll check the quick css –
http://catenais.co.uk/wordpress/wp-content/uploads/2015/04/quality-marks-v2-300×85.jpg
April 9, 2015 at 12:19 pm #425854Mate it was right in the css as shown in this thread?
/* nav.main_menu {
background-image: url(http://catenais.co.uk/wordpress/wp-content/uploads/2015/04/quality-marks-v2-300×85.jpg);
background-size: auto 60px;
background-repeat: no-repeat;
background-position: 50% 0;
}
.main_menu ul:first-child > li a {
line-height: 85px;
}
*/April 10, 2015 at 8:40 am #426413April 10, 2015 at 9:50 am #426440For the love of god……………
Do any of you chaps read the thread?
The css, was always right and no it is not working. Nothing has changed since I raised this dudes. It was just an error in this thread, nothing more.
April 10, 2015 at 10:49 am #426468Hey!
Yes we do read the threads, thanks for asking. Errors in code is the difference between it working and not working, so it’s kind of important, like in this case, to get the image URL right, which yours was not from the start. Now that we got that sorted we can move on to the next step. But ff you have gotten help on this issue already, would it not be easier to follow the help you got in those threads? If you should still have problems after that we will be happy to help you out.
Best regards,
RikardApril 10, 2015 at 10:50 am #426469Mate, there was no error in the code! The error was in this thread only, not sure how else to explain it, look at the very first comment?
April 10, 2015 at 1:08 pm #426540Hi!
Sorry for the confusion :) Have you figured it out already? I cannot see my-custom-image div on your page. I have gone through couple of files which could contain the code to display the image to no avail. If you have not figured this out already, please post a screenshot showing the div
Best regards,
YigitApril 10, 2015 at 1:32 pm #426555Hi Yigit, I can’t figure it out. You guys set it up and I can’t find where?
All I wanted to was change the image.
April 10, 2015 at 1:36 pm #426558Hi!
Please make sure that you have posted the link to your correct website. Current one looks more like a test installation.
Also, i cannot see any image on/above header – http://i.imgur.com/LFV39Wg.pngRegards,
YigitApril 10, 2015 at 1:37 pm #426560Jesus, lads read the thread!
I said I completed the update as instructed and now the image is lost totally.
Please, help me out guys, I posted this as a request for help and every response relates to info already posted!
April 10, 2015 at 1:49 pm #426569Hey!
Please refer to this post and add a widget area to header – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
You can place your image inside it in Appearace > Widgets. Should be easier to control. You may need to adjust custom CSS code, if you do, please feel free to let us know!Cheers!
YigitApril 13, 2015 at 1:48 pm #427483Yigit, I’m not sure how this will work, if you recall the header was customised to fix the breadcrumb bar. You, yourself helped me and added an image above the menu. All I wanted to do was change that image. I don’t wat a wigit above the header. I just want the image back (that was there until I was told to upgrade) above the menu.
April 13, 2015 at 2:08 pm #427492by the way it might be very difficult to obtain your request with a shrinking header on scrolling down.
but nevertheless i have to make a big compliment to the crew which tries to help, allthough your questioning does not go with good manners.
April 14, 2015 at 6:48 am #428016Hey!
@CoolPenguinSays it feels like this thread is going nowhere, we are here to help you with your problems but it seems like none of us is getting what the problem is. Could you please start a new thread and we’ll take it from there?Best regards,
RikardApril 14, 2015 at 10:41 am #428111I agree, I stated the problem in what I felt was a clear manner but wit so many people looking at the thread (and in some cases not reading it) it has created a mess.
Quite simply,
1) Some time ago I asked if I could pout an image above the menu.
2) Yigit did this for me by logging into the account. Great but I didn’t see what he did.
3) So I went to swap the image by changing the Quick CSS code.
4) Nothing happened so I posted the code in this thread (see top of thread)
5) I was told to upgrade both WP and the theme. Which I did and my image disappeared completely.
And that is where we are and have been for about a week.
Not sure about the new thread as everything is here. I just wanted to replace the image line in the quick css, that was all so it used another image. But nothing happened, so I think Yigit did something elsewhere, but I don’t know where!
April 14, 2015 at 12:53 pm #428171it is in most cases a good advice to use a child theme.
Because sometimes changings only can made by putting something into the source code.
(i guess this was made by Yigit)
A child theme gives you the opportunity to do it by hooks f.e. by editing the child-theme functions.php .
If there is no child-theme the changings in source code will be overwritten by updating the theme. (The custom css in the options dialog is not touched by upgrading because the files are in the wordpress folder /wp-content/uploads/dynamic_avia (outside of the themes folder)PS : very often many people (me to because i allways do ftp manual updates) like to have as folder owner the ftp user. By default the filepermissions of these files in dynamic_avia are 640 so sometimes the custom css rules wont work. I put filepermissions to 660.
Or you can leave the ownership to wp user and 640- This reply was modified 9 years, 7 months ago by Guenni007.
April 14, 2015 at 3:59 pm #428282Hey!
I have added the code once again. Please go to Apperance > Editor and search “add_action(‘ava_after_main_menu’,’custom_things’);” to find the code and edit link and image as needed.
Best regards,
YigitApril 23, 2015 at 8:05 pm #433722Thanks Yigit, I’m glad you got back on the case. It all appears to be working now.
April 23, 2015 at 8:30 pm #433731 -
AuthorPosts
- The topic ‘Image Above Header’ is closed to new replies.