Orange ribbon not in dimension

  • gregy1403
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #10464 by gregy1403
Hi

I have tried everything but orange ribbon in advert1 position is to small. I have used original one, altered the text, save it and it's still to small ...
Can you please check out at Šmartinsko Jezero site?

Thank you

Pozdrav iz Celja, you guys rocks!

Please Log in to join the conversation.

  • gregy1403
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #10465 by gregy1403
huh .. here is what happens

If i edit picture in advert1 ribbon gets to small .. or picture too big. It must be something with editor thing .. hmm. I'll investigate further

Please Log in to join the conversation.

More
13 years 3 months ago #10470 by ivan.milic
Hi,
here is what browsers render for ribbon:

<div class="hot_ribbon"><img src="/templates/hot_destinations/images/ribbon_orange.png" alt="ribbon">
</div>

so you can use:

.hot_ribbon IMG{
width:..
height:..
}

to fix image size. You can add that at the end of template_css.css

Please Log in to join the conversation.

  • gregy1403
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #10478 by gregy1403
i added
Code:
.hot_ribbon img { float:right; position:relative; left:4px; top:-4px; }

now it's ok .. is this minus ok in css?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 3 months ago #10479 by milos
Sure it is. It means that you're moving the element up.

Please Log in to join the conversation.

  • gregy1403
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #10480 by gregy1403
Thanks for quick response and help ;)

Please Log in to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum