Anchor links on portfolio and blog carousel images

edited December 2019 in BeBuilder
Hello,

I m having problems adding anchor text on images that are part of the portfolio or blog carousel on the homepage. There does not seem to be an option anywhere I have searched and I can see there is no anchor text on the console and through other web utilities.
The page in question is https://www.sharkbiscuit.tv
Using latest Wordpress version (5.3) and latest update on BeTheme, as of today.
Here is an example screenshot:
image

You can see there is no text between <a href...> and </a>/ Hopefully, there is some solution to this as internal links will be affected by no anchor text, especially for SEO reasons.


Many thanks,
Tom



Comments

  • Hello,
    Anchor links does not include the link to the any menu item, it's working fine for elements on the same page.
    The place where you want to scroll must have an ID provided, for example #contact.
    Then, you have to place a link with an anchor link, example <a href="#contact">Click</a>

    It will solve your problem.
    Thanks
  • Hello,

    we are using from muffin builder the portfolio and blog blocks. They do not have any option to add ID, nor do the portfolio items under portfolio.
    I would know how to place it manually but how would I edit the source code as well in the first place?

    Thank again,
    Tom
  • You can only attach the ID to the section.

    Sections are the only things you should be able to scroll.
    Thanks
  • Hello,

    still do not understand what use a custom ID will do to a portfolio section and how will it give each image its own anchor link?
    Shouldn't this somewhere in PHP if there is not an option visible anywhere>


    Many thanks,
    Tom
  • No, you don't have to use any PHP code - but as I said, BeTheme allows to attach the ID to the section, so you will be able to scroll for section only.
    Then, create a link with an anchor link and content inside, example <a href="#contact"><img src="pathtoimg"></a>

    Thanks

  • I see what you mean now. I was not referring to a one page website where you add IDs for linking to sections.
    What is missing from the website is anchor text ( <a href ….> Text </a> ) on the pictures of the portfolio slider we have on the homepage.
    Are there any solutions to that?


    Many thanks
  • Sadly, the featured images of portfolio or portfolio slider will not be possible to attach an id or linking to anchor, they are automatically created by our script and we didn't create it for this purposes.

    You would have to edit the theme files to achieve this effect, which unfortunately we do not provide help with.
    Thanks
  • We just want to add some anchor text in them, not link them anywhere else. They can stay linking to default (each image to their respective portfolio). It is just would like the link to have text in it and not be blank. Is that a possible fix?
  • I do not understand what you want to achieve right now.

    If you want to add the anchor to text, just apply the div with id, example:
    I want to scroll <div id="anchorOne">Here</div>

    And then in some other text, example:
    <a href="#anchorOne">Click here to scroll to anchorOne</a>

    Thanks
  • edited December 2019
    It does not have to do at all with scrolling.

    In the screenshot I sent at the beginning of this thread, you will see that the images on the portfolio are links and they open to the respective portfolio page when clicked. The anchor tag, highlighted in a red rectangle:

    <a href="...."> 
    <div class …. ></div>
    (there is no anchor text here)
    </a>

    This is what we are trying to do, add anchor text to the images, which are already links on the portfolio gallery. The images itself have titles and alt text on the media folder.
    How can we add these anchor texts? I believe it must be in the php file of portfolio, if there is no option on muffin builder; have not found any after research.

    Many thanks


    image
  • edited December 2019
    I do understand now.
    But, it will be not possible with the basic theme options - it will be possible with the theme files customizations, exactly modifying the structure of the portfolio custom post type, but unfortunately, we do not provide help for such kind of modifications - we do provide help with understanding the theme and fixing bugs.

    Thanks
Sign In or Register to comment.