Jump to content
benz_admin

Change Title Object Class

Recommended Posts

benz_admin    0
benz_admin

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
Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
benz_admin    0
benz_admin

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
James B    436
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
benz_admin    0
benz_admin

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
Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×