Jump to content

Add Text to header


Recommended Posts

Hi,

 

i want to add some text between the logo and the search bar, or underneath the search bar. Where do I need to put the text?

 

I should also resize when someone visits the site with a tablet or a mobile phone?

 

I hope someone has a solution for me :)

 

Regards,

Palido

post-574920-0-85294400-1398175505_thumb.jpg

Link to comment
Share on other sites

okay i seenow.

you don't see this after adding to display top because of slider

it changes visibility of all elements after it.

 

go to modules > positions

search for displayTop modules list and move free html box module to the top (it must be first on the list) then text will appear.

 

 

kghR1RA.png

 

of course you can manipulate position of this text with different left and top values

  • Like 1
Link to comment
Share on other sites

you have to use media queries.

for example:

 

change code to:

<div style="position:absolute; left:40px; top: 30px;" class="myText">
my text
</div>

and use these styles

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { 
.myText {
position:absolute!important;
left:0px;
top:0px;
}
}
Link to comment
Share on other sites

you can put it in the module like:

<style>
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) { 
.myText {
position:absolute!important;
left:0px;
top:0px;
}
}
</style>

or paste somewhere in your global stylesheet file (global.css)

Link to comment
Share on other sites

  • 2 weeks later...

http://quirktools.com/screenfly/#u=http%3A//www.palido.at&w=320&h=533&a=34&s=1

 

I use this code: 

<style>
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) { 
.container_9 {
position:absolute!important;
left:0px;
top:0px;
}
}
</style>

<div style="position:absolute; left:25%; top: 130px; font-size:10.5pt;" class="container_9">
Online Shop in Kooperation mit den Palido Partnerjuwelieren!
</div>
  • Like 1
Link to comment
Share on other sites

With this code the problem appears on ipad and iphone:

<style>
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) { 
.container_9 {
position:absolute!important;
left:0px;
top:0px;
}
}
</style>

<div style="position:absolute; left:25%; top: 130px; font-size:10.5pt;" class="container_9">
Online Shop in Kooperation mit den Palido Partnerjuwelieren!
</div>
Link to comment
Share on other sites

<div style="" class="mycontainer_9">
my text
</div>
<style>
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) { 
.mycontainer_9 {
position:absolute!important;
left:0px;
top:0px;
}
}
</style>

can you try with this

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...