I notice when I create an override its wrapped in a span with some
like this . Does the id change every time cache is cleared or is the id the same forever for this particular over-ride? the reason i ask is i want to style it based on the id if possible as long as the id doesn't change of course.
That's actually inserted by the statistics addon to track calls to the page. A hook will simply inject whatever the hook template ends up resolving to into the page either before (pre), after (post) or in place of (override unless addon with higher priority also has an override).
What that span does is sends an ajax request to the statistics addon so it can log the event. It shouldn't be styled since it probably doen't have any content.
Got a link to the page in question?
[quote name='tbirnseth' timestamp='1312937504' post='119235']
That's actually inserted by the statistics addon to track calls to the page. A hook will simply inject whatever the hook template ends up resolving to into the page either before (pre), after (post) or in place of (override unless addon with higher priority also has an override).
What that span does is sends an ajax request to the statistics addon so it can log the event. It shouldn't be styled since it probably doen't have any content.
Got a link to the page in question?
[/quote]
Thanks I figured that out just a few moments ago lol. I do have another delima maybe you can help. My search box (type shirt in it) the quick results are falling behind the nivo slider. i have messed with the z-index but cant get it to come up front. any ideas? here is the in progress site. http://cs.solesu.com/
[quote name=‘solesurvivor’ timestamp=‘1312939583’ post=‘119238’]
Thanks I figured that out just a few moments ago lol. I do have another delima maybe you can help. My search box (type shirt in it) the quick results are falling behind the nivo slider. i have messed with the z-index but cant get it to come up front. any ideas? here is the in progress site. http://cs.solesu.com/
[/quote]
See here about z-index’s http://www.w3schools.com/cssref/pr_pos_z-index.asp
Therein is your solution
[quote name=‘hbtrading’ timestamp=‘1312941924’ post=‘119239’]
See here about z-index’s http://www.w3schools.com/cssref/pr_pos_z-index.asp
Therein is your solution
[/quote]
i wish it was that easy i already changed the z-index of #quick_search_result to 999 and nothing changed.
Sorry, my strength is not in layout. In fact, I try to avoid it like the plague…
Things have definitely gotten better with browser compatibility but differences do still exist.
Have fun.
[quote name=‘solesurvivor’ timestamp=‘1312942399’ post=‘119240’]
i wish it was that easy i already changed the z-index of #quick_search_result to 999 and nothing changed.
[/quote]
pasting from the page:
“Note: z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).”
[quote name='tbirnseth' timestamp='1312942827' post='119241']
Sorry, my strength is not in layout. In fact, I try to avoid it like the plague…
Things have definitely gotten better with browser compatibility but differences do still exist.
Have fun.
[/quote]
i understand.
try the following:
#top-search {
float: right;
margin-top: 40px;
opacity: 0.7;
position: relative;
z-index: 999;
}
.qsearch-result {
position: fixed;
}
[quote name='hbtrading' timestamp='1312943390' post='119245']
try the following:
#top-search {
float: right;
margin-top: 40px;
opacity: 0.7;
position: relative;
z-index: 999;
}
.qsearch-result {
position: fixed;
}
[/quote]
awesome! that did help. thanks. I have to learn how this z-index thing works better. its always confused.
And you'll find that everyone wants to be on top. Hence the use of z-indexes of 999 when something like 3 will do.