X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Quick help regarding h1/2/3 etc formatting (https://forum.x-cart.com/showthread.php?t=70409)

kokeyuk1 11-03-2014 11:59 PM

Quick help regarding h1/2/3 etc formatting
 
Just doing some quick design changes before uploading our many products, we've put some h tags on our category pages and want to implement them on our product pages too.

These are for SEO purposes more than separating and highlighting like the theme is currently doing. So we want the formatting being more regualar, i've found how to implement colour and size changes, but currently struggling to find how to stop them dropping the next bit of text to a new line.

http://powerpartsuk.com/motorcycle_air_filters

This is the page we are currently experimenting with.

Thanks for any help!

Apologies if this is in the wrong section, this is regarding X-Cart 5, we are currently running the X-Cart 5/1/8 and this is the Noblesse theme. Thanks!

qualiteam 11-04-2014 12:23 AM

Re: Quick help regarding h1/2/3 etc formatting
 
As far as I understand, you want the H2 tags inside category descriptions do not start a new line, but get displayed inside the line which they are declared in.

If so, you should add the following CSS rule (you may use the ThemeTweaker module to do this):

.category-description h2 {
display: inline;
}

Also, I've noticed that you use "<font>" tags. These are deprecated now, so it makes sense to remove them and configure the color in the above CSS rule.

kokeyuk1 11-04-2014 02:15 AM

Re: Quick help regarding h1/2/3 etc formatting
 
Quote:

Originally Posted by qualiteam
As far as I understand, you want the H2 tags inside category descriptions do not start a new line, but get displayed inside the line which they are declared in.

If so, you should add the following CSS rule (you may use the ThemeTweaker module to do this):

.category-description h2 {
display: inline;
}

Also, I've noticed that you use "<font>" tags. These are deprecated now, so it makes sense to remove them and configure the color in the above CSS rule.


Thanks for the quick help, all sorted on that front.

Just a quick question (again!) regarding the Custom CSS.

I applied a change to the .subcategories to make the font size slightly smaller which worked.

Then doing the same thing on the sidebar, changed the sidebar but meant the .subcategories reverted. I don't know if these are directly related but seems as though they couldn't both be applied to the custom CSS?

tony_sologubov 11-11-2014 06:15 AM

Re: Quick help regarding h1/2/3 etc formatting
 
If the problem is still actual, could you please send the result CSS code you have?


All times are GMT -8. The time now is 10:56 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.