Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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:
    #810943

    Header widget:



     


    #811097

    Hi nonne,

    Could you add the flags back and we will try to adjust their positioning.

    Best regards,
    Victoria

    #811193

    Hi 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

    #811308

    Hi,

    Please, may you upload the images again? This way we can check your problem better.

    Best regards,
    John Torvik

    #811387

    Hi 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.

    #811732

    Hi 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,
    Victoria

    #811742

    Hi 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

    #811957

    Hi,

    Either way should work, you could try them both:

    #header .widget {
      padding: 5px;
    }
    
    #text-10 a {
      padding: 5px;
    }

    Best regards,
    Rikard

    #812035

    Hi 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 regards

    #812221

    Hi 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,
    Victoria

    #812271

    Hi 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 regards

    #812287

    Hi 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,
    Victoria

    #812293

    Hi again Victoria

    Wow you are fast -thanks again :-)

    I WILL look into your suggestions ;-)

    You may close the topic.

    Very best regards

    #812402

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Problem with positioning of small images (flags) in header’ is closed to new replies.