[Skip to main content](#vessel-content)

#   Changing layout on product and making font bigger

##

- **[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")**
- [![meqrinda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/698-meqrinda "View meqrinda's Profile") Topic Author
- [ Offline](/forum/user/698-meqrinda)

Less More

- Posts: 46
- Thank you received: 0
-
-

15 years 9 months ago -  15 years 9 months ago [\#6775](#6775) by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")  *[Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6775 "Hi  How do I make the link sit on top and make the font bigger?")* was created by *[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")*

Hi

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Business_Travel___infossa.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Business_Travel___infossa.png "&#91;img")

How do I make the link sit on top and make the font bigger?

- [ ![Business&#95;Travel&#95;&#95;&#95;infossa.png](/forum/attachment/409) ](/forum/attachment/409 "...&#95;&#95;&#95;infossa.png") [ ](/forum/attachment/409?download=1 "...&#95;&#95;&#95;infossa.png")

Last edit: 15 years 9 months ago by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6792](#6792) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6792 "Hi  How do I make the link sit on top and make the font bigger?")*

You need to go in the menu Display-&gt;Views and edit the file listing_img_title of the view product. There you can move the code:
&lt;span class="hikashop_product_name"&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;"&gt;
&lt;?php }
echo $this-&gt;row-&gt;product_name;
if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/span&gt;

at the top of the file.

If you want to change the font size of the product name, you can go in the config under the tab display and edit your CSS and add something like this:
.hikashop_product_name{ font-size: 2em; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")**
- [![meqrinda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/698-meqrinda "View meqrinda's Profile") Topic Author
- [ Offline](/forum/user/698-meqrinda)

Less More

- Posts: 46
- Thank you received: 0
-
-

15 years 9 months ago [\#6804](#6804) by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")  Replied by *[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6804 "Hi  How do I make the link sit on top and make the font bigger?")*

I tried with moving the code to the top, it didn´t move.

The font worked and is now bigger.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6805](#6805) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6805 "Hi  How do I make the link sit on top and make the font bigger?")*

Are you sure that you edited the correct file ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")**
- [![meqrinda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/698-meqrinda "View meqrinda's Profile") Topic Author
- [ Offline](/forum/user/698-meqrinda)

Less More

- Posts: 46
- Thank you received: 0
-
-

15 years 9 months ago [\#6806](#6806) by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")  Replied by *[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6806 "Hi  How do I make the link sit on top and make the font bigger?")*

Found my mistake, thanks for the help!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")**
- [![meqrinda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/698-meqrinda "View meqrinda's Profile") Topic Author
- [ Offline](/forum/user/698-meqrinda)

Less More

- Posts: 46
- Thank you received: 0
-
-

15 years 9 months ago [\#6810](#6810) by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")  Replied by *[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6810 "Hi  How do I make the link sit on top and make the font bigger?")*

[ www.infossa.com/lifestyle.html](http://www.infossa.com/lifestyle.html)

Where do I change the margin properly, i tried changing the same section as the big fontsize was.

With a:

margin:10px;

But that didnt change anything.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6812](#6812) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6812 "Hi  How do I make the link sit on top and make the font bigger?")*

You can use:
line-height: 1em;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")**
- [![meqrinda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/698-meqrinda "View meqrinda's Profile") Topic Author
- [ Offline](/forum/user/698-meqrinda)

Less More

- Posts: 46
- Thank you received: 0
-
-

15 years 9 months ago [\#6813](#6813) by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")  Replied by *[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6813 "Hi  How do I make the link sit on top and make the font bigger?")*

span.hikashop_product_name{ font-size: 2em; }{
display:block;
margin-bottom:5px;
line-height: 1em;
}

Like this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6814](#6814) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6814 "Hi  How do I make the link sit on top and make the font bigger?")*

No, you can't have two groups of brackets in CSS. It should be:
span.hikashop_product_name{ font-size: 2em;
line-height: 1em;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")**
- [![meqrinda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/698-meqrinda "View meqrinda's Profile") Topic Author
- [ Offline](/forum/user/698-meqrinda)

Less More

- Posts: 46
- Thank you received: 0
-
-

15 years 9 months ago [\#6815](#6815) by [meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")  Replied by *[meqrinda](/forum/user/698-meqrinda "View meqrinda's Profile")* on topic *[Re: Changing layout on product and making font bigger](/forum/4-how-to/6775-changing-layout-on-product-and-making-font-bigger#6815 "Hi  How do I make the link sit on top and make the font bigger?")*

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY3NzUtY2hhbmdpbmctbGF5b3V0LW9uLXByb2R1Y3QtYW5kLW1ha2luZy1mb250LWJpZ2dlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.070 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
