-
AuthorPosts
-
June 21, 2017 at 12:49 pm #810941
Dear Team
I have implemented english and german flags in the header from where you link to a very brief summary of the original website in danish.
I was given good advice from Yigit which has worked untill now (do not know why it does not any more).
Instead of the flags showing up beside one another they now show up on top of one another instead.
I have removed the german flag for now, because it does not work this way – pls. ref. to printscreens in private content.
How do I again enable 2 (or more) flags/symbols in a row – beside one another?
Pls. find login data in private content (and you may deactivate plugins if needed)
Thanks a lot in advance
Very best regards- This topic was modified 7 years, 5 months ago by nonne. Reason: Header widget seemed to link to kriesi website, but seems ok when I op to edit? I try to put it here:
June 21, 2017 at 12:54 pm #810943June 21, 2017 at 6:31 pm #811097Hi nonne,
Could you add the flags back and we will try to adjust their positioning.
Best regards,
VictoriaJune 21, 2017 at 10:23 pm #811193Hi Victoria
Thanks for answering. Unfortunately I don’t “dare” to do that. We are running a major news release friday where traffic to the site is going to be large, and we don’t want the frontpage to not look right – and since I do not know when you would try to do the adjusting it might very well coincide with the news release.
However I did write you the code for the header widget which places both flags (I have just removed the one of them as for now). You are free to use that code, when you try adjusting – but please: If you do not get around to do it thursday then please wait till next week!
Thanks a lot – and best regards
June 22, 2017 at 4:38 am #811308Hi,
Please, may you upload the images again? This way we can check your problem better.
Best regards,
John TorvikJune 22, 2017 at 8:59 am #811387Hi again
Thanks for getting back to me.
I allready had given you the “code” to use in the header widget to make both flags appear, so I just figured you would log in and use that.
Anyway, now I have put in the link code for both flags. The problem offcourse is, that this does not look well on the front page, so I will bring it back to just one flag again latest within 12 hours, and if you haven’t had time to look into it, we will have to get back to the issue later next week. It may be a minor issue on my side – I am not a skilled “programmer” :-)
There has been only one flag since the problem occurs as soon as I put in no. 2
Thanks for your support.
June 22, 2017 at 6:17 pm #811732Hi nonne,
I edited the widget code, all the line breaks for formatting were adding an actual br tag which was making a mess, now it’s on the same line, we can just add some padding like so:#text-10 a {padding: 5px;}
If you need further assistance please let us know.
Best regards,
VictoriaJune 22, 2017 at 6:42 pm #811742Hi Victoria
Thanks a lot – yes, they are now on the same line :-)
I have positioned the flags horisontally and vertically now via my Enfold Child CSS “#header .widget”
However, I am not really sure how to implement the padding between flags? Do I put your suggested “snippet” into the css for “#header .widget”? Or? (sorry, as mentioned not so “programming skilled” ;-)
Very best regards
June 23, 2017 at 5:51 am #811957Hi,
Either way should work, you could try them both:
#header .widget { padding: 5px; } #text-10 a { padding: 5px; }
Best regards,
RikardJune 23, 2017 at 10:36 am #812035Hi Rikard
Thanks for replying.
I have put in 2 non-breaking spaces – that did it for now.
I could not make the css work for me.
I needed horisontal padding (padding-left or padding right added to the #header .widget) but neither seemed to work.The other css-snippet:
#text-10 a {
padding: 5px;
}– well, I really don’t know how to implement that in the #header .widget – and it should somehow adress that – or am I missing something – probably ;-)
Anyway – seems to work with the non breaking spaces – though it would be nice to know how to implement the other css-snippet…
Thanks again
Best regardsJune 23, 2017 at 6:01 pm #812221Hi nonne,
No rocket science here, just copy the snippet to your child theme style.css, but you only need one of them. You did fine :)
If you need further assistance please let us know.
Best regards,
VictoriaJune 23, 2017 at 7:32 pm #812271Hi Victoria
Thanks again. Really appreciate your support. Great team :-)
Re. the css-snippet:
#text-10 a {
padding: 5px;
}– I thought it would affect a lot of other things than the header widget
– I thought any css regarding the header widget should be “within” the #header .widget
Not the case?Thanks again
Best regardsJune 23, 2017 at 7:47 pm #812287Hi nonne,
No and No :) A lot of theory below, if you have time and want to learn:
https://developer.mozilla.org/ru/docs/Web/CSS/Specificity
If you need further assistance please let us know.
Best regards,
VictoriaJune 23, 2017 at 7:58 pm #812293Hi again Victoria
Wow you are fast -thanks again :-)
I WILL look into your suggestions ;-)
You may close the topic.
Very best regards
June 24, 2017 at 7:00 am #812402 -
AuthorPosts
- The topic ‘Problem with positioning of small images (flags) in header’ is closed to new replies.