Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Quick help regarding h1/2/3 etc formatting

 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-03-2014, 11:59 PM
 
kokeyuk1 kokeyuk1 is offline
 

Member
  
Join Date: Jul 2013
Posts: 24
 

Exclamation 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!
__________________
WBK3p2snmcUwpP0V1MtfpCuV6qUAD282
Reply With Quote
  #2  
Old 11-04-2014, 12:23 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 11-04-2014, 02:15 AM
 
kokeyuk1 kokeyuk1 is offline
 

Member
  
Join Date: Jul 2013
Posts: 24
 

Default 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?
__________________
WBK3p2snmcUwpP0V1MtfpCuV6qUAD282
Reply With Quote
  #4  
Old 11-11-2014, 06:15 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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?
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020