<img> logo in the head module

Support desk for Multipurpose Quark Theme
GK User
Mon Jun 08, 2015 5:33 pm
Hi!
As a simple way to put a graphic logo above the word in the module headline?
http://cl.ly/image/0m3J3p3B2o2i

Best regards!
User avatar
Gold Boarder

GK User
Mon Jun 08, 2015 6:30 pm
Original module looks this way:
Code: Select all
<img src="images/demo/header_bg.jpg" alt="" class="parallax-img" />
<div class="gkPage">
     <h1 data-sr="enter bottom and move 50px">Product Landing Page theme</h1>
     <h2 data-sr="enter bottom and move 50px and wait .2s">Advanced, unique and powerful premium theme</h2>
     <a href="#" class="dark btn-border" data-sr="enter bottom and move 50px and wait .3s">Learn more</a>
</div>
<span class="mouse-icon"><span><span></span></span></span>

You can put an image inside of div.gkPage element. Some additional styling might be needed.
User avatar
Moderator

GK User
Mon Jun 08, 2015 7:22 pm
User avatar
Gold Boarder

GK User
Mon Jun 08, 2015 7:38 pm
and custom style css :(
— how to center?
http://cl.ly/image/443G0h0N2V3s
User avatar
Gold Boarder

GK User
Tue Jun 09, 2015 6:32 am
OK. I had to create a separate style css:

[code]
.img-center {
transform: initial!important;
margin: auto;
position: inherit!important;
}
[code]

Thank You.

P.S.
I understand that the attribution style for all <img> tag in the header is the best solution for this template ? :(
User avatar
Gold Boarder

GK User
Tue Jun 09, 2015 7:10 pm
This idea makes any other module for example. "NEWS SHOW PRO GK5" inserted in the position of the header begins to have problems with the correct displaying img . :(
User avatar
Gold Boarder

GK User
Wed Jun 10, 2015 12:27 pm
You might have to use more specific selector addressing only image in a specific module or position.
User avatar
Moderator

GK User
Wed Jun 10, 2015 3:43 pm
Such an assignment style for all <img> tag in the header position does a lot of work.
Placing the module in position Header causes misinterpretation of <img>.
User avatar
Gold Boarder

GK User
Sat Jun 13, 2015 3:44 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Sun Jun 14, 2015 5:12 am
I work offline. I testig on quickstart pack.
User avatar
Gold Boarder

GK User
Sun Jun 14, 2015 8:10 am
Code: Select all
<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/??????.JPG" alt="" width="177" height="177">


I have used that you could try. Works fine here.
User avatar
Gold Boarder

GK User
Sun Jun 14, 2015 3:56 pm
User avatar
Gold Boarder

GK User
Tue Jun 16, 2015 6:48 am
Sorry but I need to see the site live. Otherwise we can endlessly guess. Perhaps you could post it somewhere live for the time being?
User avatar
Moderator

GK User
Tue Jun 16, 2015 9:11 am
ten.mariusz wrote:Thx but... no. :(

http://cl.ly/image/121m2n3r1c15

The code is correct but you can make the picture width smaller to 177 and the height something like 150. You can change that in paint/photoshop.
User avatar
Gold Boarder

GK User
Tue Jun 16, 2015 7:43 pm
and it does not make sense. I can not create a style which will vary depending medium. :(
User avatar
Gold Boarder

GK User
Tue Jun 16, 2015 8:16 pm
Another major problem, it is through this trick to save for each <img> style, makes inserting the module header item eg. News Show Pro GK5, causes it to malfunction. it is difficult to correct :( sucks.
User avatar
Gold Boarder

GK User
Wed Jun 17, 2015 5:18 am
If this template was such position. Header top. Then you that bypasses this problem by placing the unit in a position that does not have assigned special styles.
Unfortunately, there is no such position. :(
User avatar
Gold Boarder

GK User
Wed Jun 17, 2015 6:57 pm
Sorry, still, no live site, no help :(
User avatar
Moderator


cron