Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am editing a plugin, and I need to make it so that this line <h4><span><strong>100%</strong></span> which ends up making a circle with a number in it, show up in the top right of the website instead of in its random spot, how can I make it so it is in a certain area? This is the line that needs to be moved, <h4><span><strong>100%</strong></span> Thanks, and sorry for the noobish question

share|improve this question

put on hold as off-topic by G. M., Pieter Goosen, Johannes Pille, ialocin, TheDeadMedic yesterday

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – Pieter Goosen, Johannes Pille, ialocin, TheDeadMedic
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
There is nowhere near enough information to answer your question. –  s_ha_dum Jan 27 '13 at 0:57
1  
Once you add the id that @AramSahradyan suggested, I would suggest you remove the span and strong tags and replace any functionality they are achieving in your CSS file. Your HTML is very cluttered. Just my 2 cents. –  Dan Jan 27 '13 at 2:18

1 Answer 1

HTML code:

<h4 id="yourId"><span><strong>100%</strong></span></h4>

CSS: code

#yourId { position: top: 10px; right: 10px; position: absolute; }

If you need it to stay always there even if you're scrolling then use this one

#yourId { position: top: 10px; right: 10px; position: fixed; }
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.