Home Forums Air WordPress Theme adding anchor to titles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25579
    applemint
    Participant
    Purchased
    Expired

    Hi,

    I am using Air for WordPress.

    How can I add anchors to certain titles (inserted with Page Builder)?
    I made a calendar and want the different events to hyperlink it to different titles on a specific page instead of the top of the page.

    Thank you

    #25581
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi, there

    Welcome to SeaTheme forum.

    1. It is possible to add anchors by the fullwidth wrap. Edit a fullwidth wrap(click settings), enter “Anchor Name”
    2. Please go to Appearance > Theme Options > Layout, disable “Page Loader”

    ps:
    If it doesn’t work, please leave your website URL, thanks


    Regards!
    SeaTheme – FAQsTwitterFacebook

    #25595
    applemint
    Participant
    Purchased
    Expired

    1. Yes, it works, thanks. But it also means repeating some CSS code I had assigned to a fullwidth wrap that is now divided in several fullwidth wraps. For some reason the CSS code does not allow me to add all the new #anchors to the same CSS rule, and requires separate CSS rules for each selector.

    I have to do this:

    #workshops1 .image-box-svg-wrap {
    	margin-top: 52px;
    }
    #workshops2 .image-box-svg-wrap {
    	margin-top: 52px;
    }
    
    Instead of this:
    
    

    #workshops1 #workshops2 .image-box-svg-wrap {
    margin-top: 52px;
    }

    2. I’m wondering if it would be safe also to edit html in the text editor of a Text Module and add for instance <h4 id=”workshops2″>? Or would that cause other issues down the line?

    Regards

    #25596
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi

    1. You can use the CSS with batch expression, like

    [id*='workshops'] .image-box-svg-wrap {
    	margin-top: 52px;
    }

    2. Yes, it can work.


    Regards!
    SeaTheme – FAQsTwitterFacebook

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.