Archived

This topic is now archived and is closed to further replies.

  • 0

Change Title Object Class


Question

Posted · Report post

Hi to all,

on my HomePage http://www.turismopesaro.com I have too many headlings

 

I would like to change the box title and callout title in any page of my site

 

I tried to insert on css

 

#site .fboxtitle {
    font-size: 1em;
}

 

to change box title class but it still on H3 tag

 

How can I modify the class of box and callout titles removing headlings tag??

 

 

 

Share this post


Link to post
Share on other sites

8 answers to this question

Posted · Report post

Hi,

 

Box titles use h3 tags, if you wish to change the tag you will need to create a child section and customise the code, changing the h3 tag to whatever you like.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, the css to change the title would be

 

.fboxtitle h3 {font-size:12pt;}

But as far as I'm aware this won't edit the tag label, only the size of the font inside the tag.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks James, but I won't edit the font size.

I need to remove the tag label...

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for your replys Danny.

I post how I solved for all who will have my problem

 

In wp-content>themes>pagelines>sections>boxes i find the section.php and it contains this line:

$title = do_shortcode(sprintf('<div class="fboxtitle"><h3>%s</h3></div>', $title_text));

 

just remove <h3>....</h3> and replace with <span style="font-variant: small-caps">...</span> if you want keep the small-caps font style

 

obviously It remove the h3 label from all boxes in the sites. But it was that i wanted

Share this post


Link to post
Share on other sites

Posted · Report post

OK, thanks for sharing but remember that when making changes to sections you need to create a child section otherwise when an update is released, these changes will be removed.

Share this post


Link to post
Share on other sites

Posted · Report post

Damn! So when I update to PageLines Framework 2.3.8 I will lost it.

Is a hard work create a child boxes???

I do not know where to start...

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

I am not sure what you're trying to change can you provide a screenshot please. Also, you're attempting to make changes to your sites CSS, when you have both Cloudflare and W3 Total Cache enabled.

 

You only activate cache plugins once you sites design has finalised, or know what you're doing and how to use the plugin correctly.

Share this post


Link to post
Share on other sites

Posted · Report post

When I scan my home page with http://www.browseo.net it shows that I have too many headings on it.

All titles of my boxes (i.e. Eventi a Pesaro, Come Mangiare a Pesaro, Hotel a Pesaro, etc) have the H3 tag

The callout's headers have the same problems: are H2 subtitles

 

I have about 20 headings on my home page so my google ranking has dropped!!

 

I'd like to remove the tag H2 or H3 from box title and callout header

Share this post


Link to post
Share on other sites